public virtual void Draw(SpriteBatch spriteBatch, float rotation) { spriteBatch.Draw(Texture, RotationCenter + TexturePosition, null, Color.White, rotation - RotationZero.Angle(), RotationCenter, 1f, SpriteEffects.None, 0f); }
public override void Draw(SpriteBatch spriteBatch) { Animations[currentAnimation].Draw(spriteBatch, this.TexturePosition, Color.White, Rotation.Angle() - RotationZero.Angle()); }
/// <summary> /// /// </summary> /// <param name="spriteBatch"></param> public virtual void Draw(SpriteBatch spriteBatch) { spriteBatch.Draw(Texture, TexturePosition + RotationCenter, null, Color.White, Rotation.Angle() - RotationZero.Angle(), RotationCenter, 1f, SpriteEffects.None, 0f); }