예제 #1
0
 public void Draw(SpriteBatch spriteBatch)
 {
     for (int y = 0; y < m_Height; y++)
     {
         for (int x = 0; x < m_Width; x++)
         {
             m_Tileset.DrawTile(spriteBatch, m_TileArray[y, x], new Vector2(x * m_Tileset.GetTileWidth(), y * m_Tileset.GetTileHeight()));
         }
     }
 }