summaryrefslogtreecommitdiff
path: root/HumanPlayer.cpp
blob: eadebcf37d4ef4fea8c63edd978e7e356587a61b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* **************************************
 *  Includes                            *
 * **************************************/

#include "HumanPlayer.h"

/* **************************************
 *  Defines                             *
 * **************************************/

/* **************************************
 *  Structs and enums                   *
 * **************************************/

/* **************************************
 *  Local variables                     *
 * **************************************/

/* **************************************
 *  Functions definition                *
 * **************************************/

HumanPlayer::HumanPlayer(const char* const strPlayerName) :
Player(strPlayerName)
{
}

/*****************************************************************//**
 *
 * \brief   Event handler executed when human player presses
 *          left arrow button.
 *
 *********************************************************************/
void HumanPlayer::onLeftBtnPressed(void)
{
    /* Also, send the event to Camera object. */
    _cam.onLeftBtnPressed();
}

void HumanPlayer::drawHandler(void)
{

}