public Tex2D GetAnimFrame() { if (CurFrame >= CurAnim.Frames.Count - 1) { CurFrame = 0; } if (CurAnim.Frames.Count == 1) { CurFrame = 0; } return(CurAnim.GetFrame(CurFrame)); }
public Tex2D GetAnimFrame() { if (CurFrame >= CurAnim.Frames.Count - 1) { CurFrame = 0; } if (CurAnim.Frames.Count == 1) { CurFrame = 0; } return(CurAnim.GetFrame(CurFrame)); }