public World(String save) { provider = new WorldProvider(this); generator = new WorldGenerator(1337, this); chunkIO = new ChunkIO(this, save); players = new Player[]{new Player(this)}; loadThread = new Thread(ChunkLoadLoop); updateThread = new Thread(ChunkUpdateLoop); loadThread.Start(); updateThread.Start(); }
public ChunkGeneration(Chunk chunk, WorldGenerator generator) { this.chunk = chunk; quads = new WorldQuad[Chunk.scale, Chunk.scale]; }