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

#include <ECS_Components_AI.h>

Public Member Functions

 BehaviorTreeRuntime_data ()
 
 BehaviorTreeRuntime_data (uint32_t treeId, bool active)
 

Public Attributes

uint32_t AITreeAssetId = 0
 
std::string AITreePath = ""
 
uint32_t AICurrentNodeIndex = 0
 
uint8_t lastStatus = 0
 
float nextThinkTime = 0.0f
 
bool isActive = true
 
bool needsRestart = false
 

Detailed Description

Definition at line 126 of file ECS_Components_AI.h.

Constructor & Destructor Documentation

◆ BehaviorTreeRuntime_data() [1/2]

BehaviorTreeRuntime_data::BehaviorTreeRuntime_data ( )
inline

Definition at line 144 of file ECS_Components_AI.h.

References AITreeAssetId, and SYSTEM_LOG.

◆ BehaviorTreeRuntime_data() [2/2]

BehaviorTreeRuntime_data::BehaviorTreeRuntime_data ( uint32_t  treeId,
bool  active 
)
inline

Definition at line 152 of file ECS_Components_AI.h.

References GetComponentTypeID_Static(), and SYSTEM_LOG.

+ Here is the call graph for this function:

Member Data Documentation

◆ AICurrentNodeIndex

uint32_t BehaviorTreeRuntime_data::AICurrentNodeIndex = 0

Definition at line 133 of file ECS_Components_AI.h.

◆ AITreeAssetId

uint32_t BehaviorTreeRuntime_data::AITreeAssetId = 0

◆ AITreePath

std::string BehaviorTreeRuntime_data::AITreePath = ""

Definition at line 130 of file ECS_Components_AI.h.

◆ isActive

bool BehaviorTreeRuntime_data::isActive = true

Definition at line 140 of file ECS_Components_AI.h.

Referenced by AIStateTransitionSystem::UpdateAIState().

◆ lastStatus

uint8_t BehaviorTreeRuntime_data::lastStatus = 0

Definition at line 134 of file ECS_Components_AI.h.

◆ needsRestart

bool BehaviorTreeRuntime_data::needsRestart = false

Definition at line 141 of file ECS_Components_AI.h.

◆ nextThinkTime

float BehaviorTreeRuntime_data::nextThinkTime = 0.0f

Definition at line 137 of file ECS_Components_AI.h.


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