aboutsummaryrefslogtreecommitdiffstats
path: root/examples/shooter/bullet.h
diff options
context:
space:
mode:
authorYann Herklotz <ymherklotz@gmail.com>2018-05-19 15:15:20 +0100
committerYann Herklotz <ymherklotz@gmail.com>2018-05-19 15:15:20 +0100
commita8de6cb5593e3d6347393eb4c144c9cc22a470d8 (patch)
treec92063014bb76356acd09a2231e81aa084c49266 /examples/shooter/bullet.h
parent6985227db75f6adfeba880926e6629bf17b00ee8 (diff)
downloadYAGE-a8de6cb5593e3d6347393eb4c144c9cc22a470d8.tar.gz
YAGE-a8de6cb5593e3d6347393eb4c144c9cc22a470d8.zip
Moving resources and generalising examples
Diffstat (limited to 'examples/shooter/bullet.h')
-rw-r--r--examples/shooter/bullet.h24
1 files changed, 0 insertions, 24 deletions
diff --git a/examples/shooter/bullet.h b/examples/shooter/bullet.h
deleted file mode 100644
index 19430fda..00000000
--- a/examples/shooter/bullet.h
+++ /dev/null
@@ -1,24 +0,0 @@
-#ifndef EXAMPLES_SHOOTER_BULLET_H
-#define EXAMPLES_SHOOTER_BULLET_H
-
-#include <yage/yage.h>
-
-#include "direction.h"
-
-class Bullet : public yage::Drawable
-{
-public:
- Bullet(const glm::vec4 &bound, Direction dir, float speed, float depth = 0.f);
-
- void draw(yage::SpriteBatch &sp);
-
- // getters
- glm::vec4 position() const;
-private:
- glm::vec4 bound_;
- Direction dir_;
- float speed_;
- float depth_;
-};
-
-#endif