5 using std::domain_error;
19 void State::EnterState(Application &c, SDL_Surface *screen) {
24 void State::ExitState(Application &c, SDL_Surface *screen) {
29 void State::ResumeState(SDL_Surface *screen) {
30 OnResumeState(screen);
33 void State::PauseState(SDL_Surface *screen) {
37 void State::Resize(int width, int height) {
38 OnResize(width, height);
42 Application &State::Ctrl() {
46 throw domain_error("call to app::State::Ctrl() without application context");
50 const Application &State::Ctrl() const {
54 throw domain_error("call to app::State::Ctrl() without application context");