From 166c06083212a5657fcaf03328bf530f9eb8b0d8 Mon Sep 17 00:00:00 2001 From: Charles Date: Sat, 21 Mar 2020 02:19:32 +0100 Subject: Initial commit --- src/main.cpp | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 src/main.cpp (limited to 'src/main.cpp') 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; +} -- cgit