예제 #1
0
파일: Level.cs 프로젝트: smithvs/Sokoban
 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);
 }