DestroyTask.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_DESTROY_TASK_HPP
7 #define ROSETTASTONE_DESTROY_TASK_HPP
8 
10 
12 {
18 class DestroyTask : public ITask
19 {
20  public:
23  explicit DestroyTask(EntityType entityType);
24 
27  TaskID GetTaskID() const override;
28 
29  private:
33  TaskStatus Impl(Player& player) override;
34 };
35 } // namespace RosettaStone::SimpleTasks
36 
37 #endif // ROSETTASTONE_DESTROY_TASK_HPP
TaskStatus
Meta data to represent the result of the task.
Definition: TaskStatus.hpp:15
TaskID GetTaskID() const override
DestroyTask(EntityType entityType)
Player class.
Definition: Player.hpp:33
ITask class.
Definition: Tasks.hpp:22
DestroyTask class.
Definition: DestroyTask.hpp:18
Definition: AddEnchantmentTask.hpp:11