From c12fcf8e7663c20e2c2c0696fb35a7059b83127a Mon Sep 17 00:00:00 2001 From: Joe Robinson Date: Tue, 8 Mar 2011 15:14:57 +0000 Subject: Implement weapons --- Projectile.h | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 Projectile.h (limited to 'Projectile.h') 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 -- cgit v1.2.3