![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Lightweight context bundle passed to IAtomicTask::ExecuteWithContext(). More...
#include <AtomicTaskContext.h>
Collaboration diagram for Olympe::AtomicTaskContext:Public Attributes | |
| EntityID | Entity = INVALID_ENTITY_ID |
| The entity whose task graph is being executed. | |
| World * | WorldPtr = nullptr |
| Pointer to the active World. May be nullptr in headless / test contexts. | |
| TaskWorldFacade * | ComponentFacade = nullptr |
| Optional ECS component accessor populated by the driving ECS system. | |
| LocalBlackboard * | LocalBB = nullptr |
| Pointer to the task node's LocalBlackboard for this tick. Never nullptr. | |
| float | DeltaTime = 0.0f |
| Delta-time in seconds for the current frame. | |
| float | StateTimer = 0.0f |
| Time in seconds that the current task node has been running (accumulated). | |
Lightweight context bundle passed to IAtomicTask::ExecuteWithContext().
Definition at line 35 of file AtomicTaskContext.h.
| TaskWorldFacade* Olympe::AtomicTaskContext::ComponentFacade = nullptr |
Optional ECS component accessor populated by the driving ECS system.
When non-null and both Position and Movement members are set, tasks that support World mode (e.g. Task_MoveToLocation) read/write these components instead of using LocalBlackboard. May be nullptr in headless / test contexts that do not provide ECS components.
Definition at line 48 of file AtomicTaskContext.h.
| float Olympe::AtomicTaskContext::DeltaTime = 0.0f |
Delta-time in seconds for the current frame.
Definition at line 54 of file AtomicTaskContext.h.
| EntityID Olympe::AtomicTaskContext::Entity = INVALID_ENTITY_ID |
The entity whose task graph is being executed.
Definition at line 38 of file AtomicTaskContext.h.
Referenced by Olympe::TaskSystem::ExecuteAtomicTask(), and Olympe::VSGraphExecutor::HandleAtomicTask().
| LocalBlackboard* Olympe::AtomicTaskContext::LocalBB = nullptr |
Pointer to the task node's LocalBlackboard for this tick. Never nullptr.
Definition at line 51 of file AtomicTaskContext.h.
| float Olympe::AtomicTaskContext::StateTimer = 0.0f |
Time in seconds that the current task node has been running (accumulated).
Definition at line 57 of file AtomicTaskContext.h.
Pointer to the active World. May be nullptr in headless / test contexts.
Definition at line 41 of file AtomicTaskContext.h.