public override void Draw(GraphicsHandler graphicsHandler) { if (map != null) { graphicsHandler.DrawImage( currentFrame.Image, new Vector2( GetCalibratedXLocation().Round(), GetCalibratedYLocation().Round() ), spriteEffects: currentFrame.SpriteEffect, scale: new Vector2(currentFrame.Scale, currentFrame.Scale) ); } else { base.Draw(graphicsHandler); } }
public override void Draw(GraphicsHandler graphicsHandler) { graphicsHandler.DrawImage(Image, new Vector2(X, Y), spriteEffects: SpriteEffect, scale: new Vector2(Scale, Scale)); }