Пример #1
0
 public void Draw(GameTime gameTime, SpriteBatch spriteBatch, SpriteFont font)
 {
     map.Draw(spriteBatch, painter);
     player.Draw(spriteBatch, new Vector2(player.Position.Y * painter.ElementSize + painter.OffsetY, player.Position.X * painter.ElementSize + painter.OffsetX), painter, font);
 }