Floor
Floor entitiessource
Derived from Entity
Derived types: Altar, Arrowtrap, BigSpearTrap, Door, ForceField, Generator, HorizontalForceField, JungleSpearTrap, LaserTrap, MotherStatue, Pipe, PoleDeco, QuickSand, SlidingWallCeiling, SparkTrap, SpikeballTrap, StickyTrap, TeleportingBorder, TentacleBottom, TotemTrap, TransferFloor
Fields
Methods
fix_decorations
function Floor:fix_decorations(fix_also_neighbors: boolean, fix_styled_floor: boolean)fix_also_neighbors:booleanfix_styled_floor:boolean
set_post_floor_update
function Floor:set_post_floor_update(fun: fun(self: Entity?)): integerfun:fun(self: Entity?)
Returns integer
set_post_virtual
function Floor:set_post_virtual(index: integer, fun: function): integer?index:integerfun:function- Callback signature not known from the code.
Returns integer? (may be nil)
set_pre_floor_update
function Floor:set_pre_floor_update(fun: fun(self: Entity?): boolean): integerfun:fun(self: Entity?): boolean- Returning nil (or nothing): treated as false: the original function runs (true skips it).
Returns integer
set_pre_virtual
function Floor:set_pre_virtual(index: integer, fun: function): integer?index:integerfun:function- Callback signature not known from the code.
Returns integer? (may be nil)