// -- Write the world bytes. for (int i = ChunkSize; i > 0; i--) { for (int j = ChunkSize; j > 0; j--) { // -- Block. char Block; if (ChunkY > 0 || (ChunkY == 0 && j > World.ChunkSize / 2)) { Block = (char)BlockID.BLOCK_GRASS; } else Block = (char)BlockID.BLOCK_AIR; // -- Add Return. _ReturnString = _ReturnString + Block.ToString(); } }
(ChunkY == 0 && j > World.ChunkSize / 2))
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)