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

#include <ECS_Components_AI.h>

+ Collaboration diagram for AIBlackboard_data:

Public Attributes

int AIMode = 1
 
EntityID targetEntity = INVALID_ENTITY_ID
 
Vector lastKnownTargetPosition
 
float timeSinceTargetSeen = 0.0f
 
bool hasTarget = false
 
float distanceToTarget = 0.0f
 
bool targetVisible = false
 
bool targetInRange = false
 
Vector moveGoal
 
bool hasMoveGoal = false
 
int currentPatrolPoint = 0
 
int currentPatrolIndex = 0
 
Vector patrolPoints [8]
 
int patrolPointCount = 0
 
bool hasPatrolPath = false
 
float lastAttackTime = 0.0f
 
float attackCooldown = 1.0f
 
bool canAttack = true
 
float lastDamageTaken = 0.0f
 
float damageAmount = 0.0f
 
Vector lastNoisePosition
 
bool heardNoise = false
 
float noiseCooldown = 0.0f
 
float wanderWaitTimer = 0.0f
 
float wanderTargetWaitTime = 0.0f
 
Vector wanderDestination
 
bool hasWanderDestination = false
 
float wanderSearchRadius = 500.0f
 
int wanderMaxSearchAttempts = 10
 

Detailed Description

Examples
/home/runner/work/Olympe-Engine/Olympe-Engine/Source/AI/BehaviorTree.h.

Definition at line 22 of file ECS_Components_AI.h.

Member Data Documentation

◆ AIMode

int AIBlackboard_data::AIMode = 1

Definition at line 25 of file ECS_Components_AI.h.

Referenced by AIStateTransitionSystem::Process().

◆ attackCooldown

float AIBlackboard_data::attackCooldown = 1.0f

Definition at line 51 of file ECS_Components_AI.h.

◆ canAttack

bool AIBlackboard_data::canAttack = true

Definition at line 52 of file ECS_Components_AI.h.

◆ currentPatrolIndex

int AIBlackboard_data::currentPatrolIndex = 0

Definition at line 44 of file ECS_Components_AI.h.

◆ currentPatrolPoint

int AIBlackboard_data::currentPatrolPoint = 0

Definition at line 43 of file ECS_Components_AI.h.

◆ damageAmount

float AIBlackboard_data::damageAmount = 0.0f

Definition at line 56 of file ECS_Components_AI.h.

◆ distanceToTarget

float AIBlackboard_data::distanceToTarget = 0.0f

Definition at line 34 of file ECS_Components_AI.h.

◆ hasMoveGoal

bool AIBlackboard_data::hasMoveGoal = false

Definition at line 40 of file ECS_Components_AI.h.

◆ hasPatrolPath

bool AIBlackboard_data::hasPatrolPath = false

Definition at line 47 of file ECS_Components_AI.h.

◆ hasTarget

bool AIBlackboard_data::hasTarget = false

◆ hasWanderDestination

bool AIBlackboard_data::hasWanderDestination = false

Definition at line 65 of file ECS_Components_AI.h.

◆ heardNoise

bool AIBlackboard_data::heardNoise = false

Definition at line 58 of file ECS_Components_AI.h.

◆ lastAttackTime

float AIBlackboard_data::lastAttackTime = 0.0f

Definition at line 50 of file ECS_Components_AI.h.

◆ lastDamageTaken

float AIBlackboard_data::lastDamageTaken = 0.0f

Definition at line 55 of file ECS_Components_AI.h.

◆ lastKnownTargetPosition

Vector AIBlackboard_data::lastKnownTargetPosition

Definition at line 29 of file ECS_Components_AI.h.

◆ lastNoisePosition

Vector AIBlackboard_data::lastNoisePosition

Definition at line 57 of file ECS_Components_AI.h.

◆ moveGoal

Vector AIBlackboard_data::moveGoal

Definition at line 39 of file ECS_Components_AI.h.

◆ noiseCooldown

float AIBlackboard_data::noiseCooldown = 0.0f

Definition at line 59 of file ECS_Components_AI.h.

◆ patrolPointCount

int AIBlackboard_data::patrolPointCount = 0

Definition at line 46 of file ECS_Components_AI.h.

◆ patrolPoints

Vector AIBlackboard_data::patrolPoints[8]

Definition at line 45 of file ECS_Components_AI.h.

◆ targetEntity

EntityID AIBlackboard_data::targetEntity = INVALID_ENTITY_ID

Definition at line 28 of file ECS_Components_AI.h.

Referenced by PrefabFactory::InstantiateAIBlackboard().

◆ targetInRange

bool AIBlackboard_data::targetInRange = false

Definition at line 36 of file ECS_Components_AI.h.

◆ targetVisible

bool AIBlackboard_data::targetVisible = false

Definition at line 35 of file ECS_Components_AI.h.

◆ timeSinceTargetSeen

float AIBlackboard_data::timeSinceTargetSeen = 0.0f

Definition at line 30 of file ECS_Components_AI.h.

◆ wanderDestination

Vector AIBlackboard_data::wanderDestination

Definition at line 64 of file ECS_Components_AI.h.

◆ wanderMaxSearchAttempts

int AIBlackboard_data::wanderMaxSearchAttempts = 10

Definition at line 67 of file ECS_Components_AI.h.

◆ wanderSearchRadius

float AIBlackboard_data::wanderSearchRadius = 500.0f

Definition at line 66 of file ECS_Components_AI.h.

◆ wanderTargetWaitTime

float AIBlackboard_data::wanderTargetWaitTime = 0.0f

Definition at line 63 of file ECS_Components_AI.h.

◆ wanderWaitTimer

float AIBlackboard_data::wanderWaitTimer = 0.0f

Definition at line 62 of file ECS_Components_AI.h.


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