From a47649786fb94684c415b230669fbf5343cb7c5d Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Wed, 3 Jan 2018 13:57:51 +0000 Subject: [Engine] [Example] Added simple bullets that don't move --- examples/shooter/bullet.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'examples/shooter/bullet.h') 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 -class Bullet { +class Bullet : public yage::Drawable +{ public: Bullet(const glm::vec4 &bound); void draw(yage::SpriteBatch &sp) const; + private: glm::vec4 bound_; }; -- cgit