HeightGenerator

HeightGenerator

class

Terrain height built from a stack of noises

  • load-only Usable only while mods load. The game seals these members once loading finishes, so a call or a write from a running world raises an error.

Functions

HeightGenerator:add_noise(noise)

Add a noise generator to the height generator

noise NoiseGenerator Noise generator to add
Standard members (5)

These members are available on all classes of this kind.

HeightGenerator.cast(object) Trying to cast Object into HeightGenerator
HeightGenerator.get_class() Return HeightGenerator class object
HeightGenerator.find(name) Looks HeightGenerator up in db, nil when there is none
HeightGenerator.get(name) Takes HeightGenerator from db, reports a miss to the log
HeightGenerator.reg(name, spec) load-only Register a new HeightGenerator static object, or take the registered one of that name
Inherited from Prototype (2)
Inherited from Object (1)

Used by