aboutsummaryrefslogtreecommitdiffstats
path: root/tests/simplegame.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/simplegame.cpp')
-rw-r--r--tests/simplegame.cpp16
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/simplegame.cpp b/tests/simplegame.cpp
new file mode 100644
index 00000000..f6565fc9
--- /dev/null
+++ b/tests/simplegame.cpp
@@ -0,0 +1,16 @@
+#include <yage.cpp>
+
+using namespace yage;
+
+int main()
+{
+ Window window;
+
+ window.create("Simple Game", 800, 640);
+
+ while(!window.shouldClose()) {
+ SpriteBatch sp;
+ sp.begin();
+ window.pollEvents();
+ }
+}