#include <Player.h>
Public Member Functions | |
| Player (std::string p_color) | |
| Standard constructor. | |
| virtual | ~Player () |
| Standard destructor. | |
Public Attributes | |
| std::string | color |
| Holds the color of the player. | |
| int | energy |
| Holds the energy of the player. | |
Definition at line 29 of file Player.h.
| Player::Player | ( | std::string | p_color | ) |
| Player::~Player | ( | ) | [virtual] |
| std::string Player::color |
Holds the color of the player.
Definition at line 45 of file Player.h.
Referenced by Unit::load(), Player(), and Unit::settle().
| int Player::energy |
Holds the energy of the player.
Definition at line 50 of file Player.h.
Referenced by Unit::compute(), Player(), FunctionHandler::selectBonus(), Unit::settle(), and FunctionHandler::standardAction().
1.5.2