Olympe Engine 2.0
2D Game Engine with ECS Architecture
Loading...
Searching...
No Matches
Namespaces | Variables
Task_RequestPathfinding.cpp File Reference

Atomic task: async path request via PathfindingManager. More...

#include "Task_RequestPathfinding.h"
#include "../../AtomicTaskRegistry.h"
#include "../../LocalBlackboard.h"
#include "../../../system/system_utils.h"
+ Include dependency graph for Task_RequestPathfinding.cpp:

Go to the source code of this file.

Namespaces

namespace  Olympe
 < Provides AssetID and INVALID_ASSET_ID
 

Variables

static const charOlympe::BB_KEY_POSITION = "Position"
 
static const charOlympe::BB_KEY_PATH = "Path"
 

Detailed Description

Atomic task: async path request via PathfindingManager.

Author
Olympe Engine
Date
2026-02-24

On the first ExecuteWithContext() call the task reads "Position" from the LocalBlackboard and the "Target" parameter, then submits an async request to PathfindingManager and returns Running. On subsequent ticks it polls IsComplete(); when the path is ready the string is written to the "Path" LocalBlackboard key and the task returns Success.

C++14 compliant - no C++17/20 features.

Definition in file Task_RequestPathfinding.cpp.