Class: Game_SelfSwitches

Game_SelfSwitches

new Game_SelfSwitches()

The game object class for self switches.

Methods

clear()

Clear all self switches

initialize()

Initialize the self switches

onChange()

Processing when a self switch's value is changed

setValue(key, value)

Set the self switch value for the given self switch key
NameTypeDescription
keyArrayThe self switch key
valuebooleanThe value to store in the self switch

value(key, value)

Get the self switch value for the given self switch key
NameTypeDescription
keyArrayThe self switch key
valuebooleanThe value stored in the self switch