Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Game_SelfSwitches

The game object class for self switches.

class

Game_SelfSwitches

Hierarchy

  • Game_SelfSwitches

Index

Properties

Methods

Properties

Protected _data

_data: object

Type declaration

  • key: Array<any>

Methods

clear

  • clear(): void

onChange

  • onChange(): void

setValue

  • setValue(key: Array<any>, value: boolean): void
  • Sets the value of the key of the respected self switch.

    memberof

    Game_SelfSwitches

    Parameters

    • key: Array<any>
    • value: boolean

    Returns void

value

  • value(key: Array<any>): boolean
  • Returns the value of the switch at the current key; the value is a boolean (true or false).

    memberof

    Game_SelfSwitches

    Parameters

    • key: Array<any>

    Returns boolean

Generated using TypeDoc