![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <ECS_Components_AI.h>
Collaboration diagram for AttackIntent_data:Public Types | |
| enum class | AttackType : uint8_t { Melee = 0 , Ranged , Area } |
Public Attributes | |
| EntityID | targetEntity = INVALID_ENTITY_ID |
| Vector | targetPosition |
| float | damage = 10.0f |
| float | range = 50.0f |
| bool | hasIntent = false |
| float | cooldown = 1.0f |
| AttackType | attackType = AttackType::Melee |
Definition at line 179 of file ECS_Components_AI.h.
|
strong |
| Enumerator | |
|---|---|
| Melee | |
| Ranged | |
| Area | |
Definition at line 189 of file ECS_Components_AI.h.
| AttackType AttackIntent_data::attackType = AttackType::Melee |
Definition at line 195 of file ECS_Components_AI.h.
| float AttackIntent_data::cooldown = 1.0f |
Definition at line 186 of file ECS_Components_AI.h.
| float AttackIntent_data::damage = 10.0f |
Definition at line 183 of file ECS_Components_AI.h.
Definition at line 185 of file ECS_Components_AI.h.
| float AttackIntent_data::range = 50.0f |
Definition at line 184 of file ECS_Components_AI.h.
| EntityID AttackIntent_data::targetEntity = INVALID_ENTITY_ID |
Definition at line 181 of file ECS_Components_AI.h.
Referenced by ExecuteBTAction(), and PrefabFactory::InstantiateAttackIntent().
| Vector AttackIntent_data::targetPosition |
Definition at line 182 of file ECS_Components_AI.h.