40 lines
977 B
C++
40 lines
977 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);
|
|
void handler(void);
|
|
|
|
private:
|
|
Camera _cam;
|
|
void buttonHandler(void);
|
|
void drawHandler(void);
|
|
|
|
/* Event handlers. */
|
|
void onABtnPressed(void);
|
|
void onBBtnPressed(void);
|
|
};
|
|
|
|
#endif /* HUMAN_PLAYER_H__ */
|