summaryrefslogtreecommitdiff
path: root/Projectile.h
diff options
context:
space:
mode:
authorJoe Robinson <joe@lc8n.com>2011-03-08 15:14:57 +0000
committerLuke Bratch <l_bratch@yahoo.co.uk>2011-03-08 15:14:57 +0000
commitc12fcf8e7663c20e2c2c0696fb35a7059b83127a (patch)
tree67eaa0be96e058aae54e4cf16aa0735d1a7b90f2 /Projectile.h
parent78cab811b677f05a6447aafe2fb8658ecb2c573b (diff)
Implement weapons
Diffstat (limited to 'Projectile.h')
-rw-r--r--Projectile.h19
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