![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Atomic task that writes the current delta-time into the LocalBlackboard. More...
#include "../../IAtomicTask.h"
Include dependency graph for Task_GetDeltaTime.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | Olympe::Task_GetDeltaTime |
| Writes ctx.DeltaTime to "local:DeltaTime" in the LocalBlackboard. More... | |
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
Atomic task that writes the current delta-time into the LocalBlackboard.
Task_GetDeltaTime captures ctx.DeltaTime and stores it under the key "local:DeltaTime" in the entity's LocalBlackboard. Useful for tasks that need to read dt from the blackboard rather than from the context directly.
No required parameters.
Returns: Success always. Failure if ctx.LocalBB is null.
C++14 compliant - no C++17/20 features.
Definition in file Task_GetDeltaTime.h.