diff options
Diffstat (limited to 'Projectile.h')
-rw-r--r-- | Projectile.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Projectile.h b/Projectile.h new file mode 100644 index 0000000..af59cf0 --- /dev/null +++ b/Projectile.h @@ -0,0 +1,19 @@ +#ifndef PROJECTILE_H +#define PROJECTILE_H + +#include "Sprite.h" + +class Projectile : public Sprite { + public: + Projectile(); + + int getArea(); + bool isActive(); + void setActive(bool a); + + protected: + int area; + bool active; +}; + +#endif |