RosettaStone::Graveyard Class Reference
#include <Rosetta/Models/Graveyard.hpp>
Public Member Functions | |
Graveyard () | |
Default constructor. More... | |
Player & | GetOwner () const |
void | SetOwner (Player &owner) |
void | AddCard (Entity &card) |
Detailed Description
Graveyard class.
This class is where the cards that are no longer used in the game. Discarded cards and spell cards, after their activation, go directly to it.
Constructor & Destructor Documentation
◆ Graveyard()
RosettaStone::Graveyard::Graveyard | ( | ) |
Default constructor.
Member Function Documentation
◆ AddCard()
void RosettaStone::Graveyard::AddCard | ( | Entity & | card | ) |
Adds a card to graveyard.
- Parameters
-
card The card to add to graveyard.
◆ GetOwner()
Player& RosettaStone::Graveyard::GetOwner | ( | ) | const |
Returns the owner of graveyard.
- Returns
- The owner of graveyard.
◆ SetOwner()
void RosettaStone::Graveyard::SetOwner | ( | Player & | owner | ) |
Sets the owner of graveyard.
- Parameters
-
owner The owner of graveyard.
The documentation for this class was generated from the following file:
- Rosetta/Models/Graveyard.hpp