DrawTask.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_DRAW_TASK_HPP
7 #define ROSETTASTONE_DRAW_TASK_HPP
8 
10 
12 {
18 class DrawTask : public ITask
19 {
20  public:
23  DrawTask(std::size_t num);
24 
27  TaskID GetTaskID() const override;
28 
29  private:
33  TaskStatus Impl(Player& player) override;
34 
35  std::size_t m_num = 0;
36 };
37 } // namespace RosettaStone::SimpleTasks
38 
39 #endif // ROSETTASTONE_DRAW_TASK_HPP
DrawTask class.
Definition: DrawTask.hpp:18
TaskStatus
Meta data to represent the result of the task.
Definition: TaskStatus.hpp:15
TaskID GetTaskID() const override
Player class.
Definition: Player.hpp:33
ITask class.
Definition: Tasks.hpp:22
Definition: AddEnchantmentTask.hpp:11