Main Page | Class Hierarchy | Compound List | File List | Compound Members | File Members

LoopingFrames Class Reference

#include <animation.h>

Inheritance diagram for LoopingFrames:

Animation List of all members.

Detailed Description

A LoopingFrames animation is an infinite loop of a handful of preloaded bitmaps.

When it reaches the last frame in the sequence it'll start over. The sequence is constructed by calling insert_frame().


Public Member Functions

void insert_frame (const Bitmap &bitmap)
 Pushes bitmap onto the end of the sequence.


Protected Member Functions

virtual Bitmapgetframe (int skip=0)
virtual int autofree ()

Protected Attributes

std::vector< Bitmap * > _frames
unsigned int _pos


Member Function Documentation

void LoopingFrames::insert_frame const Bitmap bitmap  ) 
 

Pushes bitmap onto the end of the sequence.


The documentation for this class was generated from the following files:
Generated on Sun Oct 19 17:34:48 2003 for rve by doxygen 1.3.3