![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Atomic task that asynchronously requests a path via PathfindingManager. More...
Include dependency graph for Task_RequestPathfinding.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | Olympe::Task_RequestPathfinding |
| Async pathfinding task that polls PathfindingManager for completion. More... | |
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
Atomic task that asynchronously requests a path via PathfindingManager.
Task_RequestPathfinding submits an async pathfinding request on the first tick and polls for completion on subsequent ticks. When the request completes the path string is written to the "Path" LocalBlackboard key.
Parameters (ParameterMap): "Target" (Vector) - destination position (required) "AsyncDelay" (Float) - simulated delay in seconds (optional, default 0.0)
LocalBlackboard reads: "Position" (Vector) - current entity position (required)
LocalBlackboard output: "Path" (String) - straight-line path string "(sx,sy,sz)->(tx,ty,tz)"
Returns: Running on the first tick (request submitted) and while waiting. Success once the path is written to "Path". Failure if required parameters or BB keys are missing.
Abort() cancels the in-flight request.
C++14 compliant - no C++17/20 features.
Definition in file Task_RequestPathfinding.h.