Super Derpy: Muffin Attack
 All Classes Files Functions Variables Enumerations Macros
Public Attributes
TM_Action Struct Reference

Timeline action. More...

#include <timeline.h>

List of all members.

Public Attributes

bool(* function )(struct Game *, struct TM_Action *, enum TM_ActionState)
struct TM_Argumentsarguments
ALLEGRO_TIMER * timer
bool active
int delay
struct TM_Actionnext
unsigned int id
char * name

Detailed Description

Timeline action.


Member Data Documentation

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.


The documentation for this struct was generated from the following file: