]> git.localhorst.tv Git - sdl-test8.git/blobdiff - src/app/Control.h
added collision engine, more or less stole gameplay from sdl-test7
[sdl-test8.git] / src / app / Control.h
diff --git a/src/app/Control.h b/src/app/Control.h
new file mode 100644 (file)
index 0000000..b6cd742
--- /dev/null
@@ -0,0 +1,29 @@
+/*
+ * Control.h
+ *
+ *  Created on: Apr 19, 2012
+ *      Author: holy
+ */
+
+#ifndef APP_CONTROL_H_
+#define APP_CONTROL_H_
+
+namespace app {
+
+class State;
+
+class Control {
+
+       public:
+               virtual ~Control(void) { };
+
+       public:
+               virtual void ChangeState(State *) = 0;
+               virtual void PushState(State *) = 0;
+               virtual void PopState(void) = 0;
+               virtual void Quit(void) = 0;
+};
+
+}
+
+#endif /* APP_CONTROL_H_ */