StaticStructure

StaticStructure

class

Map generation script object with a footprint

Fields

NameTypeDescription
generate function Callback invoked to emit the structure
size Vec2i Footprint of the structure in blocks
Standard members (5)

Generated for every class of this kind by the game's codegen, not written for StaticStructure.

StaticStructure.cast(object) Trying to cast Object into StaticStructure
StaticStructure.get_class() Return StaticStructure class object
StaticStructure.find(name) Looks StaticStructure up in db, nil when there is none
StaticStructure.get(name) Takes StaticStructure from db, reports a miss to the log
StaticStructure.reg(name) Register a new StaticStructure static object
Inherited from Prototype (2)
Inherited from Object (1)

Used by