![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Atomic task: find a named entity in World and store its EntityID. More...
#include "Task_GetWorldInstance.h"#include "../../AtomicTaskRegistry.h"#include "../../LocalBlackboard.h"#include "../../../system/system_utils.h"
Include dependency graph for Task_GetWorldInstance.cpp:Go to the source code of this file.
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
Atomic task: find a named entity in World and store its EntityID.
When ctx.WorldPtr is available the task uses World::FindEntityByName() (or equivalent) to resolve the entity. In headless / test mode (ctx.WorldPtr == nullptr) the task logs and returns Failure, which is the expected contract for tasks that require a live World.
C++14 compliant - no C++17/20 features.
Definition in file Task_GetWorldInstance.cpp.