/// <summary> /// Affichage avec flip /// </summary> /// <param name="screen"></param> /// <param name="x"></param> /// <param name="y"></param> public void Draw(SurfaceSprite screen, int x, int y, bool isHorizontalFlipped, bool isVerticalFlipped) { if (State != AnimatorStates.Stop) { CurrentAnimationFrame.Draw(screen, x, y, isHorizontalFlipped, isVerticalFlipped); } }
/// <summary> /// Affichage sans flip /// </summary> /// <param name="screen"></param> /// <param name="x"></param> /// <param name="y"></param> public void Draw(SurfaceSprite screen, int x, int y) { if (State != AnimatorStates.Stop) { CurrentAnimationFrame.Draw(screen, x, y); } }