]> git.localhorst.tv Git - l2e.git/blobdiff - src/app/State.cpp
wrapped some virtual State methods in non-virtual calls
[l2e.git] / src / app / State.cpp
diff --git a/src/app/State.cpp b/src/app/State.cpp
new file mode 100644 (file)
index 0000000..50b5bf6
--- /dev/null
@@ -0,0 +1,37 @@
+/*
+ * State.cpp
+ *
+ *  Created on: Oct 17, 2012
+ *      Author: holy
+ */
+
+#include "State.h"
+
+namespace app {
+
+State::~State() {
+
+}
+
+
+void State::EnterState(Application &ctrl, SDL_Surface *screen) {
+       OnEnterState(ctrl, screen);
+}
+
+void State::ExitState(Application &ctrl, SDL_Surface *screen) {
+       OnExitState(ctrl, screen);
+}
+
+void State::ResumeState(Application &ctrl, SDL_Surface *screen) {
+       OnResumeState(ctrl, screen);
+}
+
+void State::PauseState(Application &ctrl, SDL_Surface *screen) {
+       OnPauseState(ctrl, screen);
+}
+
+void State::Resize(int width, int height) {
+       OnResize(width, height);
+}
+
+}