Enchant.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_ENCHANT_HPP
8 #define ROSETTASTONE_ENCHANT_HPP
9 
11 
12 #include <vector>
13 
14 namespace RosettaStone
15 {
16 class Character;
17 
24 class Enchant
25 {
26  public:
28  Enchant() = default;
29 
32  Enchant(Effect& effect);
33 
36  Enchant(std::vector<Effect>& effects);
37 
40  void ActivateTo(Character* character);
41 
42  private:
43  std::vector<Effect> m_effects;
44 };
45 } // namespace RosettaStone
46 
47 #endif // ROSETTASTONE_ENCHANT_HPP
Effect class.
Definition: Effect.hpp:29
Enchant()=default
Default constructor.
Enchant class.
Definition: Enchant.hpp:24
Definition: AccountInfo.hpp:14
Abstract character class that stores hero and minion data.
Definition: Character.hpp:21
void ActivateTo(Character *character)