aboutsummaryrefslogtreecommitdiffstats
path: root/examples/shooter/bullet.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-01-03 13:26:37 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-01-03 13:27:23 +0000
commit86e4aa6265ade205aba94494a7a31a83b5686387 (patch)
treed7f9998b55d3fcc2b083242086afd05c1d436b6e /examples/shooter/bullet.h
parent9038ee45f93b1ae07a28a516781676ebe3a67536 (diff)
downloadYAGE-86e4aa6265ade205aba94494a7a31a83b5686387.tar.gz
YAGE-86e4aa6265ade205aba94494a7a31a83b5686387.zip
[Engine] [Example] Reenabled vsync and working on example.
Diffstat (limited to 'examples/shooter/bullet.h')
-rw-r--r--examples/shooter/bullet.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/examples/shooter/bullet.h b/examples/shooter/bullet.h
new file mode 100644
index 00000000..37ea52ca
--- /dev/null
+++ b/examples/shooter/bullet.h
@@ -0,0 +1,15 @@
+#ifndef EXAMPLES_SHOOTER_BULLET_H
+#define EXAMPLES_SHOOTER_BULLET_H
+
+#include <yage/yage.h>
+
+class Bullet {
+public:
+ Bullet(const glm::vec4 &bound);
+
+ void draw(yage::SpriteBatch &sp) const;
+private:
+ glm::vec4 bound_;
+};
+
+#endif