aboutsummaryrefslogtreecommitdiffstats
path: root/examples/shooter/bullet.h
diff options
context:
space:
mode:
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_;
};