7 #ifndef ROSETTASTONE_ENTITY_HPP 8 #define ROSETTASTONE_ENTITY_HPP 70 virtual void SetGameTag(GameTag tag,
int value);
98 #endif // ROSETTASTONE_ENTITY_HPP virtual void Destroy()
Destroys character.
Player * m_owner
Definition: Entity.hpp:88
bool isDestroyed
Definition: Entity.hpp:85
Player & GetOwner() const
Entity()=default
Default constructor.
Card class.
Definition: Card.hpp:27
std::map< GameTag, int > m_gameTags
Definition: Entity.hpp:90
Entity & operator=(const Entity &ent)
Copy assignment operator.
Abstract entity structure that stores card data.
Definition: Entity.hpp:28
Card card
Definition: Entity.hpp:81
virtual void SetGameTag(GameTag tag, int value)
virtual ~Entity()
Destructor.
Player class.
Definition: Player.hpp:33
Definition: AccountInfo.hpp:14
int GetGameTag(GameTag tag) const
void SetOwner(Player &owner)
static Entity * GetFromCard(Player &player, Card &&card)