aboutsummaryrefslogtreecommitdiffstats
path: root/examples/shooter/bullet.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-01-03 13:57:51 +0000
committerYann Herklotz <ymherklotz@gmail.com>2018-01-03 13:57:51 +0000
commita47649786fb94684c415b230669fbf5343cb7c5d (patch)
treeb35c5921bf90ed7b091f1bc2f08f370436abe834 /examples/shooter/bullet.h
parent86e4aa6265ade205aba94494a7a31a83b5686387 (diff)
downloadYAGE-a47649786fb94684c415b230669fbf5343cb7c5d.tar.gz
YAGE-a47649786fb94684c415b230669fbf5343cb7c5d.zip
[Engine] [Example] Added simple bullets that don't move
Diffstat (limited to 'examples/shooter/bullet.h')
-rw-r--r--examples/shooter/bullet.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/shooter/bullet.h b/examples/shooter/bullet.h
index 37ea52ca..1d372af1 100644
--- a/examples/shooter/bullet.h
+++ b/examples/shooter/bullet.h
@@ -3,11 +3,13 @@
#include <yage/yage.h>
-class Bullet {
+class Bullet : public yage::Drawable
+{
public:
Bullet(const glm::vec4 &bound);
void draw(yage::SpriteBatch &sp) const;
+
private:
glm::vec4 bound_;
};