Skip to content

stopFire beta ​

Function of @v12-engine/engine

ts
export declare function stopFire(world: World, layer?: string): number;

Puts out every fire of a layer, or of all the pack's layers when none is named: what burns is burnt, what waits its turn is not lit. Returns how many cells were burning