Timeline action. More...
#include <timeline.h>
Public Attributes | |
| bool(* | function )(struct Game *, struct TM_Action *, enum TM_ActionState) |
| struct TM_Arguments * | arguments |
| ALLEGRO_TIMER * | timer |
| bool | active |
| int | delay |
| struct TM_Action * | next |
| unsigned int | id |
| char * | name |
Timeline action.
| bool TM_Action::active |
If false, then this action is waiting for it's delay to finish.
| struct TM_Arguments* TM_Action::arguments |
Arguments of the action.
| int TM_Action::delay |
Number of miliseconds to delay before action is started.
| bool(* TM_Action::function)(struct Game *, struct TM_Action *, enum TM_ActionState) |
Function callback of the action.
| unsigned int TM_Action::id |
ID of the action.
| char* TM_Action::name |
"User friendly" name of the action.
| struct TM_Action* TM_Action::next |
Pointer to next action in queue.
| ALLEGRO_TIMER* TM_Action::timer |
Delay timer.
1.8.1.1