Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Classes | Enumerations | Functions
ECS_Components_AI.h File Reference
#include "ECS_Entity.h"
#include "vector.h"
#include <cstdint>
#include "ECS_Systems_AI.h"
#include "ComponentRegistry.h"
+ Include dependency graph for ECS_Components_AI.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  AIBlackboard_data
 
struct  AISenses_data
 
struct  AIState_data
 
struct  BehaviorTreeRuntime_data
 
struct  MoveIntent_data
 
struct  AttackIntent_data
 

Enumerations

enum class  AIMode : uint8_t {
  Idle = 1 , Patrol = 2 , Combat = 3 , Flee = 4 ,
  Investigate = 5 , Dead = 6
}
 AI behavior modes for NPCs. More...
 

Functions

 AUTO_REGISTER_COMPONENT (AIBlackboard_data)
 
 AUTO_REGISTER_COMPONENT (AISenses_data)
 
 AUTO_REGISTER_COMPONENT (AIState_data)
 
 AUTO_REGISTER_COMPONENT (BehaviorTreeRuntime_data)
 
 AUTO_REGISTER_COMPONENT (MoveIntent_data)
 
 AUTO_REGISTER_COMPONENT (AttackIntent_data)
 

Enumeration Type Documentation

◆ AIMode

AI behavior modes for NPCs.

Note
Values start at 1 to match BT condition checks (AIMode == 1 for Idle, 2 for Patrol, 3 for Combat)
Enumerator
Idle 
Patrol 
Combat 
Flee 
Investigate 
Dead 

Definition at line 101 of file ECS_Components_AI.h.

Function Documentation

◆ AUTO_REGISTER_COMPONENT() [1/6]

AUTO_REGISTER_COMPONENT ( AIBlackboard_data  )

◆ AUTO_REGISTER_COMPONENT() [2/6]

AUTO_REGISTER_COMPONENT ( AISenses_data  )

◆ AUTO_REGISTER_COMPONENT() [3/6]

AUTO_REGISTER_COMPONENT ( AIState_data  )

◆ AUTO_REGISTER_COMPONENT() [4/6]

AUTO_REGISTER_COMPONENT ( AttackIntent_data  )

◆ AUTO_REGISTER_COMPONENT() [5/6]

AUTO_REGISTER_COMPONENT ( BehaviorTreeRuntime_data  )

◆ AUTO_REGISTER_COMPONENT() [6/6]

AUTO_REGISTER_COMPONENT ( MoveIntent_data  )