#include <Player.h>
Definition at line 7 of file Player.h.
Public Member Functions | |
void | addUnit (spUnit unit) |
int | getID () |
spUnit | getNextUnit () |
int | getUnitCount () |
Player (int id) | |
void | removeUnit (spUnit unit) |
Private Attributes | |
int | _id |
vector< spUnit > | _units |
Player::Player | ( | int | id | ) |
Definition at line 3 of file Player.cpp.
void Player::addUnit | ( | spUnit | unit | ) |
int Player::getID | ( | ) |
spUnit Player::getNextUnit | ( | ) |
int Player::getUnitCount | ( | ) |
void Player::removeUnit | ( | spUnit | unit | ) |
int Player::_id [private] |
vector<spUnit> Player::_units [private] |