isAnimationPlaying
GraphicsModuleInterface::isAnimationPlaying
Checks if an Entity is currently playing a certain Animation.
Declaration
virtual bool isAnimationPlaying(Entity entity, Animation* animation) = 0;
Parameters
Name |
Type |
Description |
|---|---|---|
entity |
The Entity to check the Animation’s status of. It must have a Renderable Component. |
|
animation |
The animation to check the status of. |
Returns
true if the Animation is currently playing on the Entity, else, returns false.