Constructor


ToggleController(properties: any)

Arguments:

properties: any




Methods









Fields


ToggleController.flag: string

[Property flag] The name of the flag to check for whether targets should be active - if ! is at the start of the flag, the check will be inverted


ToggleController.flag_value: boolean

[Property value] The value that flag should be for the controller targets to be active


ToggleController.inverted: boolean

[Property inverted] Whether the flagcheck is inverted such that if flag is flag_value, the controller targets are inactive, and active otherwise


ToggleController.target_objs: (Character|Event)[]

[Property list target] A list of objects that this controller is attached to



Undocumented