-
Notifications
You must be signed in to change notification settings - Fork 2
/
gui_human_player.hpp
38 lines (29 loc) · 865 Bytes
/
gui_human_player.hpp
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
#ifndef gui_human_player_h
#define gui_human_player_h
#include "human_player.hpp"
#include "player.hpp"
/**
* This class represents a human-controlled player. This class is fairly simple.
* It implements a make_play as an interactive function. It requests a command
* from the GUI
*/
////////////////////////////////////////////////////////////////////////////////
class GUI_Human_Player : public Human_Player
////////////////////////////////////////////////////////////////////////////////
{
public:
/**
* Constructor - Simply hands-off args to the parent constructor
*/
GUI_Human_Player(const std::string& name, Scrabble_Game* the_game) : Human_Player(name, the_game) {}
protected:
/**
* make_play
*/
virtual void make_play();
private:
unsigned m_row_buff[64];
unsigned m_col_buff[64];
char m_let_buff[64];
};
#endif