Spell.hpp
Go to the documentation of this file.
1 // Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon
2 
3 // We are making my contributions/submissions to this project solely in our
4 // personal capacity and are not conveying any rights to any intellectual
5 // property of any third parties.
6 
7 #ifndef ROSETTASTONE_SPELL_HPP
8 #define ROSETTASTONE_SPELL_HPP
9 
11 
12 namespace RosettaStone
13 {
19 class Spell : public Entity
20 {
21  public:
23  Spell() = default;
24 
28  Spell(Player& _owner, Card& _card);
29 
31  ~Spell() = default;
32 
34  Spell(const Spell& spell) = default;
35 
37  Spell(Spell&& spell) = default;
38 
40  Spell& operator=(const Spell& spell) = default;
41 
43  Spell& operator=(Spell&& spell) = default;
44 
46  void Destroy() override;
47 };
48 } // namespace RosettaStone
49 
50 #endif // ROSETTASTONE_SPELL_HPP
void Destroy() override
Destroys spell.
Spell & operator=(const Spell &spell)=default
Default copy assignment operator.
Spell class.
Definition: Spell.hpp:19
Card class.
Definition: Card.hpp:27
Spell()=default
Default constructor.
~Spell()=default
Default destructor.
Abstract entity structure that stores card data.
Definition: Entity.hpp:28
Player class.
Definition: Player.hpp:33
Definition: AccountInfo.hpp:14