StaticStructure
classMap generation script object with a footprint
Fields
| Name | Type | Description |
|---|---|---|
| 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)
- name Object name
- Prototype:is_valid() Returns false once the underlying engine object has been destroyed
Inherited from Object (1)
- Object:get_class() Class of this object
Used by
- MapStructure.structure field