Esempio n. 1
0
 public static void Draw(SpriteBatch batch, Chunk chunk)
 {
     //batch.Draw(Sprites.Rectangle,new Rectangle(chunk.Position.ToPoint(),new Point(32*8,96*8)), Color.White);
     for (var x = 0; x < ChunkWidth; x++)
     {
         for (var y = 0; y < ChunkHeight; y++)
         {
             TileHelper.Draw(batch, chunk, x, y);
         }
     }
 }