#include "gamestate.h" void GameState::execute(stack &state_stack) throw(StateExit) { SDL_Event event; while(SDL_PollEvent(&event)) handle_event(&event); iterate(); render(); }