package stray.world;

/**
 * Represents a 16x16 area
 * 
 * @author chrislo27
 *
 */
public class Chunk {
	
	
}

@@ -15,16 +15,72 @@
 world;%0A%0A
+import stray.blocks.Block;%0Aimport stray.blocks.Blocks;%0A%0A
 /**%0A * R
@@ -157,12 +157,418 @@
 unk %7B%0A%09%0A
+%09public static final int chunkSize = 16;%0A%09%0A%09Block%5B%5D%5B%5D blocks = new Block%5BchunkSize%5D%5BchunkSize%5D;%0A%09String%5B%5D%5B%5D meta = new String%5BchunkSize%5D%5BchunkSize%5D;%0A%09%0A%09int chunkX = 0, chunkY = 0;%0A%09%0A%09public Chunk(int x, int y)%7B%0A%09%09chunkX = x;%0A%09%09chunkY = y;%0A%09%09%0A%09%09for(int bx = 0; bx %3C chunkSize; bx++)%7B%0A%09%09%09for(int by = 0; by %3C chunkSize; by++)%7B%0A%09%09%09%09blocks%5Bbx%5D%5Bby%5D = Blocks.defaultBlock();%0A%09%09%09%09meta%5Bbx%5D%5Bby%5D = null;%0A%09%09%09%7D%0A%09%09%7D%0A%09%7D%0A
 %09%0A%7D%0A

Update chunk system