![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <ECS_Systems.h>
Inheritance diagram for NavigationSystem:
Collaboration diagram for NavigationSystem:Public Member Functions | |
| NavigationSystem () | |
| virtual void | Process () override |
| void | RequestPath (EntityID entity, const Vector &targetPos) |
| void | FollowPath (EntityID entity, float deltaTime) |
| bool | NeedsRepath (EntityID entity) |
Public Member Functions inherited from ECS_System | |
| ECS_System () | |
| virtual void | Render () |
| virtual void | RenderDebug () |
| void | AddEntity (EntityID entity) |
| void | RemoveEntity (EntityID entity) |
Additional Inherited Members | |
Public Attributes inherited from ECS_System | |
| ComponentSignature | requiredSignature |
| std::set< EntityID > | m_entities |
Definition at line 140 of file ECS_Systems.h.
| NavigationSystem::NavigationSystem | ( | ) |
Definition at line 1547 of file ECS_Systems.cpp.
References GetComponentTypeID_Static(), and ECS_System::requiredSignature.
Here is the call graph for this function:Definition at line 1618 of file ECS_Systems.cpp.
References World::Get(), World::GetComponent(), GetComponentTypeID_Static(), Vector::Length(), Vector::Normalize(), Vector::x, and Vector::y.
Here is the call graph for this function:Definition at line 1665 of file ECS_Systems.cpp.
References GetComponentTypeID_Static().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from ECS_System.
Definition at line 1554 of file ECS_Systems.cpp.
References GameEngine::fDt, FollowPath, World::Get(), World::GetComponent(), GetComponentTypeID_Static(), ECS_System::m_entities, and RequestPath().
Here is the call graph for this function:Definition at line 1577 of file ECS_Systems.cpp.
References NavigationMap::Get(), World::Get(), World::GetComponent(), GetComponentTypeID_Static(), and Ground.
Referenced by Process().
Here is the call graph for this function:
Here is the caller graph for this function: