UNPKG

arx-level-generator

Version:
14 lines 482 B
import { ScriptProperty } from '../ScriptProperty.js'; /** * A ScriptProperty for linking an Entity to a Zone. * A linked Zone will trigger `controlledzone_enter` and `controlledzone_leave` events on the Entity. * * @extends ScriptProperty * @see https://wiki.arx-libertatis.org/Script:setcontrolledzone */ export class ControlZone extends ScriptProperty { toString() { return `setcontrolledzone ${this.value.name}`; } } //# sourceMappingURL=ControlZone.js.map