Class: Game_SelfSwitches

Game_SelfSwitches

new Game_SelfSwitches()

The game object class for self switches.

Methods

Clear all self switches
Initialize the self switches
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