ControlTask.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_CONTROL_TASK_HPP
8 #define ROSETTASTONE_CONTROL_TASK_HPP
9 
10 #include <Rosetta/Tasks/Tasks.hpp>
11 
13 {
19 class ControlTask : public ITask
20 {
21  public:
24  explicit ControlTask(EntityType entityType);
25 
28  TaskID GetTaskID() const override;
29 
30  private:
34  TaskStatus Impl(Player& player) override;
35 };
36 } // namespace RosettaStone::SimpleTasks
37 
38 #endif // ROSETTASTONE_CONTROL_TASK_HPP
TaskStatus
Meta data to represent the result of the task.
Definition: TaskStatus.hpp:15
TaskID GetTaskID() const override
ControlTask(EntityType entityType)
Player class.
Definition: Player.hpp:33
ControlTask class.
Definition: ControlTask.hpp:19
ITask class.
Definition: Tasks.hpp:22
Definition: AddEnchantmentTask.hpp:11