public virtual void Stop(_Animation animation, bool clear = false) { animation.Stop(clear); currentlyPlayingAnimations.Remove(animation); }
public virtual void Play(_Animation animation, int startFrameIndex = 0, bool playForwards = true) { animation.Play(startFrameIndex, playForwards); currentlyPlayingAnimations.Add(animation); }