Skip to content

setGate beta ​

Function of @v12-engine/engine

ts
export declare function setGate(world: World, name: string, open: boolean): boolean;

Opens or shuts a gate of the map by its name, while the game runs: what walks goes through it or around, and every screen draws it so (gateChanged). False when the map has no gate by that name