// -- Fill up the Sticked Chunk. for (int i = 1; i <= 3; i++) { for (int j = 1; j <= 3; j++) { // -- Right Chunk. int RightChunk = i * j; // -- Get writing cooardinate. int WritingX = (i * World.ChunkSize); int WritingY = (j * World.ChunkSize); // -- Get all the Blocks. for (int x = 0; x < World.ChunkSize; x++) { for (int y = 0; y < World.ChunkSize; y++) { Block _Block = new Block(); _Block.BlockID = LoadedChunks[RightChunk].GetBlockID(x, y); StickedChunk._Blocks[WritingX + x, WritingY + y] = _Block; } } } }
for (int i = 0; i < 3; i++) for (int j = 0; j < 3; j++)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)