AddEnchantmentTask.hpp
Go to the documentation of this file.
1 // This code is based on Sabberstone project.
2 // Copyright (c) 2017-2019 SabberStone Team, darkfriend77 & rnilva
3 // Hearthstone++ is hearthstone simulator using C++ with reinforcement learning.
4 // Copyright (c) 2019 Chris Ohk, Youngjoong Kim, SeungHyun Jeon
5 
6 #ifndef ROSETTASTONE_ADD_ENCHANTMENT_TASK_HPP
7 #define ROSETTASTONE_ADD_ENCHANTMENT_TASK_HPP
8 
10 
12 {
18 class AddEnchantmentTask : public ITask
19 {
20  public:
24  AddEnchantmentTask(std::string&& cardID, EntityType entityType);
25 
28  TaskID GetTaskID() const override;
29 
30  private:
34  TaskStatus Impl(Player& player) override;
35 
36  std::string m_cardID;
37 };
38 } // namespace RosettaStone::SimpleTasks
39 
40 #endif // ROSETTASTONE_ADD_ENCHANTMENT_TASK_HPP
TaskStatus
Meta data to represent the result of the task.
Definition: TaskStatus.hpp:15
AddEnchantmentTask(std::string &&cardID, EntityType entityType)
AddEnchantmentTask class.
Definition: AddEnchantmentTask.hpp:18
Player class.
Definition: Player.hpp:33
ITask class.
Definition: Tasks.hpp:22
Definition: AddEnchantmentTask.hpp:11