summaryrefslogtreecommitdiff
path: root/HumanPlayer.h
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2018-07-09 19:26:13 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2018-07-09 19:26:13 +0200
commitf0b654b9bf3bc2a93c1f89d4cc3edcf77b948555 (patch)
tree91b7404dca0b6eb136cb7f9b144435419144b777 /HumanPlayer.h
parentd85464781580796bbcc744ae732e56d1920e3b0f (diff)
downloadpocketempires-f0b654b9bf3bc2a93c1f89d4cc3edcf77b948555.tar.gz
Game has been restructured in favor of OOP
Diffstat (limited to 'HumanPlayer.h')
-rw-r--r--HumanPlayer.h34
1 files changed, 34 insertions, 0 deletions
diff --git a/HumanPlayer.h b/HumanPlayer.h
new file mode 100644
index 0000000..0ed983a
--- /dev/null
+++ b/HumanPlayer.h
@@ -0,0 +1,34 @@
+#ifndef HUMAN_PLAYER_H__
+#define HUMAN_PLAYER_H__
+
+/* **************************************
+ * Includes *
+ * **************************************/
+
+#include "Player.h"
+#include "Camera.h"
+
+/* **************************************
+ * Defines *
+ * **************************************/
+
+/* **************************************
+ * Structs and enums *
+ * **************************************/
+
+/* **************************************
+ * Class definition *
+ * **************************************/
+
+class HumanPlayer : public Player
+{
+ public:
+ HumanPlayer(const char* const strPlayerName);
+ void onLeftBtnPressed(void);
+ void drawHandler(void);
+
+ private:
+ Camera _cam;
+};
+
+#endif /* HUMAN_PLAYER_H__ */