From f0b654b9bf3bc2a93c1f89d4cc3edcf77b948555 Mon Sep 17 00:00:00 2001 From: XaviDCR92 Date: Mon, 9 Jul 2018 19:26:13 +0200 Subject: Game has been restructured in favor of OOP --- HumanPlayer.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 HumanPlayer.h (limited to 'HumanPlayer.h') 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__ */ -- cgit v1.2.3