![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#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< EntityID > | m_entities |
Definition at line 31 of file ECS_Systems_AI.h.
| 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:
|
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:
|
overridevirtual |
Reimplemented from ECS_System.
Definition at line 156 of file ECS_Systems_AI.cpp.
References GameEngine::fDt, World::Get(), World::GetComponent(), GetComponentTypeID_Static(), World::HasComponent(), INVALID_ENTITY_ID, World::IsEntityValid(), IsTargetVisible(), ECS_System::m_entities, World::m_entitySignatures, Vector::Magnitude(), Position_data::position, and SYSTEM_LOG.
Here is the call graph for this function: