Refactored a wee bit of code in the GameStack... stack, and started building the title screen code

This commit is contained in:
2011-06-28 21:38:18 -04:00
parent 9961d177fd
commit 6a4b1c4cf2
7 changed files with 76 additions and 14 deletions

View File

@ -20,15 +20,6 @@ Game::~Game()
}
void Game::execute(stack<GameState*> &state_stack) throw(StateExit)
{
SDL_Event event;
while(SDL_PollEvent(&event))
handle_event(&event);
render();
}
bool Game::init()
{
background = DrawUtils::load("background.bmp");