Пример #1
0
 public Tex2D GetAnimFrame()
 {
     if (CurFrame >= CurAnim.Frames.Count - 1)
     {
         CurFrame = 0;
     }
     if (CurAnim.Frames.Count == 1)
     {
         CurFrame = 0;
     }
     return(CurAnim.GetFrame(CurFrame));
 }