GameState

A game state

Members

Functions

draw
void draw()

Draw the game state

onActivate
void onActivate()

When a state is pushed

onDeactivate
void onDeactivate()

Called when a state is popped

update
void update()

Update the game state

Variables

drawPassthrough
bool drawPassthrough;

Wether drawing should pass-through to the previous game state (if any) This allows overlaying a gamr state over an other

Meta