コード例 #1
0
ファイル: AnimationManager.cs プロジェクト: jfaps09/tdj
        public void SetCurrentFrame(Frame frame)
        {
            if (CurrentAnimation != null)
            {
                CurrentAnimation.Stop();
            }

            CurrentFrame = frame;
        }
コード例 #2
0
 public void Stop()
 {
     CurrentAnimation.Stop();
 }
コード例 #3
0
 /// <summary>
 /// Stop playback.  This will reset the animation to the first frame.
 /// </summary>
 public void Stop()
 {
     Active = false;
     CurrentAnimation.Stop();
 }