]> git.localhorst.tv Git - l2e.git/blob - src/app/State.cpp
wrapped some virtual State methods in non-virtual calls
[l2e.git] / src / app / State.cpp
1 /*
2  * State.cpp
3  *
4  *  Created on: Oct 17, 2012
5  *      Author: holy
6  */
7
8 #include "State.h"
9
10 namespace app {
11
12 State::~State() {
13
14 }
15
16
17 void State::EnterState(Application &ctrl, SDL_Surface *screen) {
18         OnEnterState(ctrl, screen);
19 }
20
21 void State::ExitState(Application &ctrl, SDL_Surface *screen) {
22         OnExitState(ctrl, screen);
23 }
24
25 void State::ResumeState(Application &ctrl, SDL_Surface *screen) {
26         OnResumeState(ctrl, screen);
27 }
28
29 void State::PauseState(Application &ctrl, SDL_Surface *screen) {
30         OnPauseState(ctrl, screen);
31 }
32
33 void State::Resize(int width, int height) {
34         OnResize(width, height);
35 }
36
37 }