Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Public Member Functions | Private Member Functions | List of all members
AIPerceptionSystem Class Reference

#include <ECS_Systems_AI.h>

+ Inheritance diagram for AIPerceptionSystem:
+ Collaboration diagram for AIPerceptionSystem:

Public Member Functions

 AIPerceptionSystem ()
 
virtual void Process () override
 
- Public Member Functions inherited from ECS_System
 ECS_System ()
 
virtual void Render ()
 
virtual void RenderDebug ()
 
void AddEntity (EntityID entity)
 
void RemoveEntity (EntityID entity)
 

Private Member Functions

bool IsTargetVisible (EntityID entity, EntityID target, float visionRadius, float visionAngle)
 

Additional Inherited Members

- Public Attributes inherited from ECS_System
ComponentSignature requiredSignature
 
std::set< EntityIDm_entities
 

Detailed Description

Definition at line 31 of file ECS_Systems_AI.h.

Constructor & Destructor Documentation

◆ AIPerceptionSystem()

AIPerceptionSystem::AIPerceptionSystem ( )

Definition at line 148 of file ECS_Systems_AI.cpp.

References GetComponentTypeID_Static(), and ECS_System::requiredSignature.

+ Here is the call graph for this function:

Member Function Documentation

◆ IsTargetVisible()

bool AIPerceptionSystem::IsTargetVisible ( EntityID  entity,
EntityID  target,
float  visionRadius,
float  visionAngle 
)
private

Definition at line 261 of file ECS_Systems_AI.cpp.

References World::Get(), World::GetComponent(), GetComponentTypeID_Static(), and Vector::Magnitude().

Referenced by Process().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ Process()

void AIPerceptionSystem::Process ( )
overridevirtual

The documentation for this class was generated from the following files: