Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Aug 30th, 2012  |  syntax: Java  |  size: 0.36 KB  |  views: 147  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  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. }
clone this paste RAW Paste Data