Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Attributes | List of all members
AIState_data Struct Reference

#include <ECS_Components_AI.h>

Public Attributes

AIMode currentMode = AIMode::Idle
 
AIMode previousMode = AIMode::Idle
 
float timeInCurrentMode = 0.0f
 
float combatEngageDistance = 250.0f
 
float fleeHealthThreshold = 0.2f
 
float investigateTimeout = 5.0f
 

Detailed Description

Definition at line 111 of file ECS_Components_AI.h.

Member Data Documentation

◆ combatEngageDistance

float AIState_data::combatEngageDistance = 250.0f

Definition at line 118 of file ECS_Components_AI.h.

◆ currentMode

AIMode AIState_data::currentMode = AIMode::Idle

◆ fleeHealthThreshold

float AIState_data::fleeHealthThreshold = 0.2f

Definition at line 119 of file ECS_Components_AI.h.

Referenced by AIStateTransitionSystem::UpdateAIState().

◆ investigateTimeout

float AIState_data::investigateTimeout = 5.0f

Definition at line 120 of file ECS_Components_AI.h.

Referenced by AIStateTransitionSystem::UpdateAIState().

◆ previousMode

AIMode AIState_data::previousMode = AIMode::Idle

Definition at line 114 of file ECS_Components_AI.h.

Referenced by AIStateTransitionSystem::UpdateAIState().

◆ timeInCurrentMode

float AIState_data::timeInCurrentMode = 0.0f

Definition at line 115 of file ECS_Components_AI.h.

Referenced by AIStateTransitionSystem::UpdateAIState().


The documentation for this struct was generated from the following file: