#include <effects.h>
Public Types | |
typedef list< Effect * > | EffectList |
typedef EffectList::iterator | iterator |
Public Member Functions | |
RegisterEffect (Effect *effect) | |
Static Public Member Functions | |
iterator | begin (void) |
iterator | end (void) |
Each effect type in the hierarchy should create a dummy global instance of this class, passing a pointer to a dummy global instance of the Effect class. The RegisterEffect constructor adds each pointer to a list, which is then iterated through when we need to construct static lists for each Effect in the hierarchy.
|
This adds the passed effect to the list of effects. Note: the effect_list must be NULL before this constructor is called.
|
|
|
|
|