IncludeTask.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_INCLUDE_TASK_HPP
8 #define ROSETTASTONE_INCLUDE_TASK_HPP
9 
10 #include <Rosetta/Tasks/Tasks.hpp>
11 
13 {
20 class IncludeTask : public ITask
21 {
22  public:
24  IncludeTask() = default;
25 
28  TaskID GetTaskID() const override;
29 
36  static std::vector<Entity*> GetEntities(EntityType entityType,
37  Player& player,
38  Entity* source = nullptr,
39  Entity* target = nullptr);
40 
41  private:
45  TaskStatus Impl(Player& player) override;
46 };
47 } // namespace RosettaStone::SimpleTasks
48 
49 #endif // ROSETTASTONE_INCLUDE_TASK_HPP
TaskID GetTaskID() const override
TaskStatus
Meta data to represent the result of the task.
Definition: TaskStatus.hpp:15
static std::vector< Entity * > GetEntities(EntityType entityType, Player &player, Entity *source=nullptr, Entity *target=nullptr)
IncludeTask class.
Definition: IncludeTask.hpp:20
Abstract entity structure that stores card data.
Definition: Entity.hpp:28
IncludeTask()=default
Default constructor.
Player class.
Definition: Player.hpp:33
ITask class.
Definition: Tasks.hpp:22
Definition: AddEnchantmentTask.hpp:11