aboutsummaryrefslogtreecommitdiffstats
path: root/examples/shooter/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/shooter/main.cpp')
-rw-r--r--examples/shooter/main.cpp22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/shooter/main.cpp b/examples/shooter/main.cpp
new file mode 100644
index 00000000..d28af83e
--- /dev/null
+++ b/examples/shooter/main.cpp
@@ -0,0 +1,22 @@
+#include <yage/yage.h>
+
+#include <iostream>
+
+using std::cout;
+
+int main(int argc, char** argv)
+{
+ cout << "Starting Shooter example...\n";
+
+ yage::Window window;
+ window.create("Shooter example", 1920, 1080);
+
+ while(!window.shouldClose()) {
+ window.pollEvents();
+ window.clearBuffer();
+
+
+
+ window.swapBuffer();
+ }
+}