endZone beta
Function of @v12-engine/engine
ts
export declare function endZone(world: World, zone: Zone, options?: {
onEnd?: boolean;
}): boolean;Ends a zone of an ability (world.zones) before its time: what happens at its end (onEnd) happens now, unless onEnd is false (a zone called off, not finished). False for one that is not in the world any more