aboutsummaryrefslogtreecommitdiff
path: root/src/Hero.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Hero.h')
-rw-r--r--src/Hero.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/Hero.h b/src/Hero.h
new file mode 100644
index 0000000..ec25944
--- /dev/null
+++ b/src/Hero.h
@@ -0,0 +1,25 @@
+#ifndef Hero_h
+#define Hero_h
+
+#include "Character.h"
+
+class Hero: public Character
+{
+ Q_OBJECT
+
+public:
+ Hero(QGraphicsScene* scene, QPointF pos, QGraphicsItem* parent = 0);
+ virtual ~Hero();
+
+ void advance(int phase);
+
+signals:
+ void gameOver();
+ void levelComplete();
+ void updateUI();
+
+private:
+
+};
+
+#endif // Hero_h