HealTask.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_HEAL_TASK_HPP
7 #define ROSETTASTONE_HEAL_TASK_HPP
8 
10 
12 {
18 class HealTask : public ITask
19 {
20  public:
24  HealTask(EntityType entityType, int amount);
25 
28  TaskID GetTaskID() const override;
29 
30  private:
34  TaskStatus Impl(Player& player) override;
35 
36  int m_amount = 0;
37 };
38 } // namespace RosettaStone::SimpleTasks
39 
40 #endif // ROSETTASTONE_HEAL_TASK_HPP
TaskStatus
Meta data to represent the result of the task.
Definition: TaskStatus.hpp:15
HealTask(EntityType entityType, int amount)
TaskID GetTaskID() const override
Player class.
Definition: Player.hpp:33
HealTask class.
Definition: HealTask.hpp:18
ITask class.
Definition: Tasks.hpp:22
Definition: AddEnchantmentTask.hpp:11