Method

PhocTimedAnimationplay

Declaration [src]

void
phoc_timed_animation_play (
  PhocTimedAnimation* self
)

Description [src]

Starts the animation for self.

If the animation is playing, or has been completed, restarts it from the beginning. This allows to easily play an animation regardless of whether it’s already playing or not.

Sets PhocTimedAnimation:state to PHOC_TIMED_ANIMATION_PLAYING.