#include <events.h>
Inheritance diagram for Event:


| Public Member Functions | |
| Event (Object *obj, Uint16 length, Uint16 edelay=0, Uint32 switchstate=NOTHING) | |
| virtual | ~Event () | 
| Resets the event state of owner. | |
| virtual Uint16 | update (Uint16 dt) | 
| virtual void | cancel () | 
| virtual void | start () | 
| virtual void | end () | 
| virtual void | reset () | 
| Protected Attributes | |
| Object * | owner | 
| Uint16 | duration | 
| Uint16 | delay | 
| Sint16 | tleft | 
| bool | started | 
| Uint32 | state | 
Organize effects that aren't instantanious. Updated by PhysicHandler, usually a member of an Object (controlled by the object). An effect can be delayed and has a certain run period (marked by a state).
| 
 | ||||||||||||||||||||
| 
 
 | 
 1.3.8
 1.3.8