예제 #1
0
        private void StartWorldGeneration()
        {
            var startChunk = _worldGenerator.GenerateChunk(0, 0);

            var chunk = new Chunk(0, 0);

            chunk.SetBlocks(startChunk);

            _world.AddChunk(0, 0, chunk);

            _chunkBuilder.Build(chunk);

            _worldGenerator.GenerateArea(new Point(0, 0), 15);
            _worldGenerator.StartGeneration();
        }