Skip to content

setWallGate beta ​

Function of @v12-engine/engine

ts
export declare function setWallGate(world: World, gate: Entity, open: boolean): boolean;

Opens or shuts a gate of a wall, for everyone: open, what walks goes through its cell, whoever's; shut, around it. Its look is open or shut. False for what is no gate, or one still going up