mirror of
https://github.com/GayPizzaSpecifications/voxelotl-engine.git
synced 2025-08-03 13:11:33 +00:00
technicolour icecream hellscape terrain
This commit is contained in:
@ -12,10 +12,10 @@ public class World {
|
||||
private var _generator: any WorldGenerator
|
||||
private var _chunkGeneration: ChunkGeneration
|
||||
|
||||
public init() {
|
||||
public init(generator: any WorldGenerator) {
|
||||
self._chunks = [:]
|
||||
self._chunkDamage = []
|
||||
self._generator = TerrorTowerGenerator()
|
||||
self._generator = generator
|
||||
self._chunkGeneration = ChunkGeneration(queue: .global(qos: .userInitiated))
|
||||
self._chunkGeneration.world = self
|
||||
}
|
||||
|
Reference in New Issue
Block a user