#include <SUSUI.h>
|
| | SUSUI () |
| Move< char > * | get_move (Player< char > *p) override |
| | Ask the user (or AI) to make a move.
|
| Player< char > * | create_player (string &name, char symbol, PlayerType type) override |
| | Create a player object based on input name, symbol, and type.
|
| void | display_message (string s) |
| | UI (string message, int cell_display_width) |
| | Construct the UI and display a welcome message.
|
| virtual | ~UI () |
| void | display_message (string message) |
| | Display any message to the user.
|
| virtual Player< char > ** | setup_players () |
| | Set up players for the game.
|
| void | display_board_matrix (const vector< vector< char > > &matrix) const |
| | Display the current board matrix in formatted form.
|
◆ SUSUI()
◆ create_player()
| Player< char > * SUSUI::create_player |
( |
string & | name, |
|
|
char | symbol, |
|
|
PlayerType | type ) |
|
inlineoverridevirtual |
Create a player object based on input name, symbol, and type.
Implements UI< char >.
◆ display_message()
| void SUSUI::display_message |
( |
string | s | ) |
|
|
inline |
◆ get_move()
| Move< char > * SUSUI::get_move |
( |
Player< char > * | | ) |
|
|
inlineoverridevirtual |
Ask the user (or AI) to make a move.
Implements UI< char >.
The documentation for this class was generated from the following file: