SANDAL2
A SDL2 Wrapper in C
Public Attributes | List of all members
Action Struct Reference

Public Attributes

double timing
 
double timeSpent
 
void(* action )(struct Element *, void *, double)
 
void * data
 
int shouldBeFreed
 

Member Data Documentation

◆ action

void(* Action::action) (struct Element *, void *, double)

action to be executed

◆ data

void* Action::data

data of the action

◆ shouldBeFreed

int Action::shouldBeFreed

tells whether or not the data should be freed

◆ timeSpent

double Action::timeSpent

time already spent for the action (in seconds), it stays at 0 if timing is < 0

◆ timing

double Action::timing

time for the action to be executed (in seconds), value inferior to 0 for infinite action


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