aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644
index 0000000..8960149
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,12 @@
+#include "game.hpp"
+#include "graphics.hpp"
+
+int main()
+{
+ Game game;
+ Graphics graphics(game, "mario sokoban", 640, 480);
+
+ while (graphics.isRunning())
+ graphics.update();
+ return 0;
+}