Class: Game_Switches

Game_Switches()

new Game_Switches()

The game object class for switches. Use as global variable $gameSwitches
Properties:
Name Type Description
_data Array.<Boolean>

Methods

clear()

initialize()

onChange()

setValue(switchId, value)

Parameters:
Name Type Description
switchId Number
value Number

value(switchId)

Parameters:
Name Type Description
switchId Number