Implemented and integrated title screen - now game crashes at launch, though
This commit is contained in:
3
game.h
3
game.h
@ -17,7 +17,7 @@ using std::stack;
|
||||
class Game : public GameState
|
||||
{
|
||||
public:
|
||||
Game(SDL_Surface* display);
|
||||
Game(stack<GameState*>* state_stack, SDL_Surface* display);
|
||||
~Game();
|
||||
|
||||
bool init();
|
||||
@ -27,7 +27,6 @@ class Game : public GameState
|
||||
void iterate() {}
|
||||
|
||||
// event handlers
|
||||
void on_exit();
|
||||
void on_lbutton_down(int x, int y);
|
||||
void on_rbutton_down(int mX, int mY);
|
||||
void on_key_down(SDLKey sym, SDLMod mod, Uint16 unicode);
|
||||
|
Reference in New Issue
Block a user