Player.hpp
Go to the documentation of this file.
void SetNickname(std::string nickname)
void SetPolicy(IPolicy *policy)
Hero * GetHero() const
void AddHeroAndPower(Card &&heroCard, Card &&powerCard)
std::size_t GetID() const
IPolicy & GetPolicy() const
void SetID(std::size_t id)
The first player.
Hand & GetHand()
void SetOpponent(Player *player)
Battlefield & GetField()
Deck & GetDeck()
PlayerType GetPlayerType() const
void SetPlayerType(PlayerType type)
Graveyard & GetGraveyard()
static constexpr std::size_t USER_INVALID
Definition: Player.hpp:36
Game * GetGame() const
Definition: AccountInfo.hpp:14
Player & GetOpponent() const
PlayerType
Enumeration that represents the player.
Definition: Constants.hpp:57
std::string GetNickname() const
Invalid action.
void SetGame(Game *game)