RosettaStone::SimpleTasks::HealTask Class Reference
#include <Rosetta/Tasks/SimpleTasks/HealTask.hpp>
Inheritance diagram for RosettaStone::SimpleTasks::HealTask:
Public Member Functions | |
| HealTask (EntityType entityType, int amount) | |
| TaskID | GetTaskID () const override |
Public Member Functions inherited from RosettaStone::ITask | |
| ITask ()=default | |
| Default constructor. More... | |
| ITask (EntityType entityType) | |
| ITask (Entity *source, Entity *target) | |
| ITask (EntityType entityType, Entity *source, Entity *target) | |
| virtual | ~ITask ()=default |
| Default destructor. More... | |
| ITask (const ITask &task)=default | |
| Default copy constructor. More... | |
| ITask (ITask &&task)=default | |
| Default move constructor. More... | |
| ITask & | operator= (const ITask &task)=default |
| Default copy assignment operator. More... | |
| ITask & | operator= (ITask &&task)=default |
| Default move assignment operator. More... | |
| EntityType | GetEntityType () const |
| void | SetSource (Entity *source) |
| void | SetTarget (Entity *target) |
| TaskStatus | Run (Player &player) |
Additional Inherited Members | |
Static Public Attributes inherited from RosettaStone::ITask | |
| template<typename T > | |
| static constexpr bool | isTask |
Protected Attributes inherited from RosettaStone::ITask | |
| EntityType | m_entityType = EntityType::EMPTY |
| Entity * | m_source = nullptr |
| Entity * | m_target = nullptr |
Detailed Description
HealTask class.
This class represents the task for healing target.
Constructor & Destructor Documentation
◆ HealTask()
| RosettaStone::SimpleTasks::HealTask::HealTask | ( | EntityType | entityType, |
| int | amount | ||
| ) |
Constructs task with given entityType and amount.
- Parameters
-
entityType The entity type of target to heal. amount A value that indicates how much heal to target.
Member Function Documentation
◆ GetTaskID()
|
overridevirtual |
The documentation for this class was generated from the following file:
- Rosetta/Tasks/SimpleTasks/HealTask.hpp
Public Member Functions inherited from
1.8.14