![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
Atomic task that starts an animation on an entity. More...
#include "../../IAtomicTask.h"
Include dependency graph for Task_PlayAnimation.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Classes | |
| class | Olympe::Task_PlayAnimation |
| Requests an animation to play via ECS or LocalBlackboard. More... | |
Namespaces | |
| namespace | Olympe |
| < Provides AssetID and INVALID_ASSET_ID | |
Atomic task that starts an animation on an entity.
Task_PlayAnimation requests that an animation be played on the entity. In headless mode it stores the animation name in the LocalBlackboard.
Parameters (ParameterMap): "AnimationName" (String) — animation identifier (required). "Loop" (Bool) — whether to loop the animation (optional, default=false).
Returns: Success after writing the animation request. Failure if "AnimationName" is missing.
C++14 compliant - no C++17/20 features.
Definition in file Task_PlayAnimation.h.