Refactored a wee bit of code in the GameStack... stack, and started building the title screen code
This commit is contained in:
5
game.h
5
game.h
@ -21,9 +21,11 @@ class Game : public GameState
|
||||
~Game();
|
||||
|
||||
bool init();
|
||||
void execute(stack<GameState*> &state_stack) throw(StateExit);
|
||||
|
||||
protected:
|
||||
void render();
|
||||
void iterate() {}
|
||||
|
||||
// event handlers
|
||||
void on_exit();
|
||||
void on_lbutton_down(int x, int y);
|
||||
@ -31,7 +33,6 @@ class Game : public GameState
|
||||
void on_key_down(SDLKey sym, SDLMod mod, Uint16 unicode);
|
||||
|
||||
private:
|
||||
void render();
|
||||
|
||||
// data
|
||||
GameData data;
|
||||
|
Reference in New Issue
Block a user