Class: WorldGenerator

(abstract) WorldGenerator()

(abstract) new WorldGenerator()

An abstract class to extend to create different sector based world generators.
Source:

Methods

(abstract, static) this.generate(mapM, sectorX, sectorY)

Generates the sector located at sectorX and sectorY for the given SectoredBlockMap mapM.
Parameters:
Name Type Description
mapM SectoredBlockMap
sectorX Number
sectorY Number
Source:

(abstract, static) this.generateOrigin(mapM)

Generates the origin sector for the given SectoredBlockMap mapM.
Parameters:
Name Type Description
mapM SectoredBlockMap
Source: