PocketEmpires/HumanPlayer.h

40 lines
1003 B
C++

#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:
explicit HumanPlayer(const char* const strPlayerName, const Camera& cam);
void handler(void);
private:
const Camera& _cam;
void buttonHandler(void);
void drawHandler(void);
/* Event handlers. */
void onABtnPressed(void);
void onBBtnPressed(void);
};
#endif /* HUMAN_PLAYER_H__ */