SHARE
TWEET

Untitled

a guest Aug 30th, 2012 165 Never
  1. for(int i = chunkList.length; i > 0; i--)
  2. {
  3.   for (int j = chunkList[i].length; j > 0; j--)
  4.   {
  5.     if (chunkList[i][j] != null)
  6.     {
  7.       Tile[][] tileList = chunkList[i][j].getTileList();
  8.       for (int x = 8; x > 0; x--)
  9.         for (int y = 8; y > 0; y--)
  10.           if (tileList[x][y] != null) gameRenderer.drawTile(tileList[x][y]);
  11.     }
  12.   }
  13. }
RAW Paste Data
Top