Power.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_POWER_HPP
8 #define ROSETTASTONE_POWER_HPP
9 
11 
12 #include <vector>
13 
14 namespace RosettaStone
15 {
16 class ITask;
17 class Enchant;
18 
24 class Power
25 {
26  public:
29  std::vector<ITask*>& GetPowerTask();
30 
34 
36  void ClearData();
37 
40  void AddPowerTask(ITask* task);
41 
44  void AddEnchant(Enchant&& enchant);
45 
46  private:
47  std::vector<ITask*> m_powerTask;
48  Enchant m_enchant;
49 };
50 } // namespace RosettaStone
51 
52 #endif // ROSETTASTONE_POWER_HPP
Enchant & GetEnchant()
void ClearData()
Clears power task and enchant.
void AddEnchant(Enchant &&enchant)
std::vector< ITask * > & GetPowerTask()
Power class.
Definition: Power.hpp:24
Enchant class.
Definition: Enchant.hpp:24
Definition: AccountInfo.hpp:14
ITask class.
Definition: Tasks.hpp:22
void AddPowerTask(ITask *task)