![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Atomic task that waits for a specified duration. More...
#include "../../IAtomicTask.h"
Include dependency graph for Task_Wait.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | Olympe::Task_Wait |
| Atomic task that idles for a fixed duration then succeeds. More... | |
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
Atomic task that waits for a specified duration.
Task_Wait returns Running until ctx.StateTimer reaches the "Duration" parameter, then returns Success.
Parameters (ParameterMap): "Duration" (Float) - seconds to wait (required, > 0)
Returns: Running while StateTimer < Duration. Success once StateTimer >= Duration. Failure if "Duration" parameter is missing or non-positive.
C++14 compliant - no C++17/20 features.
Definition in file Task_Wait.h.