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

Effect_tile Class Reference

#include <effect.h>

Inheritance diagram for Effect_tile:

Effect_changealpha Effect List of all members.

Detailed Description

Splits the area into as many tiles as possible and changes the alpha value of a random tile every frame.


Public Member Functions

virtual void run ()
 Runs the effect.


Protected Member Functions

virtual void step (int value)
 A callback method that's called by animate() every frame.


Protected Attributes

int _length
int _per_row
int _numtiles
std::vector< int > _sequence


Member Function Documentation

void Effect_tile::run  )  [virtual]
 

Runs the effect.

It takes no parameters because it should be possible to run an effect without knowing its type, only knowing how long it will take. It should be possible to call run() more than once.

Implements Effect.

void Effect_tile::step int  value  )  [protected, virtual]
 

A callback method that's called by animate() every frame.

That means it shouldn't take long to execute. Before animate() calls step() it sets Effect::_oldval to what value was at the last call.

Implements Effect.


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