Class: Game_SelfSwitches

Game_SelfSwitches()

new Game_SelfSwitches()

The game object class for self switches. Use as global variable $gameSelfSwitches
Properties:
Name Type Description
_data Object {key: Array}

Methods

clear()

Clears the array of data for the game's self switches.

initialize()

onChange()

setValue(key, value)

Sets the value of the key of the respected self switch.
Parameters:
Name Type Description
key Array.<*>
value Boolean

value(key) → {Boolean}

Returns the value of the switch at the current key; the value is a boolean (true or false).
Parameters:
Name Type Description
key Array.<*>
Returns:
Type
Boolean