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

Lightweight ECS component accessor passed through AtomicTaskContext. More...

#include <TaskWorldFacade.h>

+ Collaboration diagram for Olympe::TaskWorldFacade:

Public Attributes

PositionComponentPosition = nullptr
 Non-owning pointer to the entity's PositionComponent. May be nullptr.
 
MovementComponentMovement = nullptr
 Non-owning pointer to the entity's MovementComponent. May be nullptr.
 

Detailed Description

Lightweight ECS component accessor passed through AtomicTaskContext.

Both pointers default to nullptr. A task that supports World mode checks both pointers before using them; if either is nullptr the task falls back to its LocalBlackboard (headless) code path.

Definition at line 47 of file TaskWorldFacade.h.

Member Data Documentation

◆ Movement

MovementComponent* Olympe::TaskWorldFacade::Movement = nullptr

Non-owning pointer to the entity's MovementComponent. May be nullptr.

Definition at line 53 of file TaskWorldFacade.h.

◆ Position

PositionComponent* Olympe::TaskWorldFacade::Position = nullptr

Non-owning pointer to the entity's PositionComponent. May be nullptr.

Definition at line 50 of file TaskWorldFacade.h.


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