Members
-
The following Attributes are taken from the TextStyle class of PIXI. All can be overwritten in the overlay's JSON file.
Type Definitions
-
Callback for the switch action.
Name Type Description event
object The event object.
switch
Switch A reference to the switch (also this refers to the switch).
-
Callback for the button action.
Name Type Description event
object The event object.
button
Button A reference to the button (also this refers to the button).
-
Callback for the switch action.
Name Type Description event
object The event object.
switch
Switch A reference to the switch (also this refers to the switch).
-
Callback for the switch afterAction.
Name Type Description event
object The event object.
switch
Switch A reference to the switch (also this refers to the switch).
-
Callback for the button afterAction.
Name Type Description event
object The event object.
button
Button A reference to the button (also this refers to the button).
-
Callback for the button beforeAction.
Name Type Description event
object The event object.
button
Button A reference to the button (also this refers to the button).
-
Callback for the switch beforeAction.
Name Type Description event
object The event object.
switch
Switch A reference to the switch (also this refers to the switch).
-
A coordinate point is a PIXI.Point or object in form {x,y} that contains map coordinates instead of pixel values, where x represents the latitude and y the longitude.
Properties:
Name Type Description x
number Indicates whether the Courage component is present.
y
number Indicates whether the Power component is present.
-
The complete Triforce, or one or more components of the Triforce.
-
Properties:
Name Type Description key
string an ID.
altKey
boolean Defines if KeyCode requires the alt key to be pressed.
shiftKey
boolean Defines if KeyCode requires the shift key to be pressed.
ctrlKey
boolean Defines if KeyCode requires the ctrl key to be pressed.
-
Properties:
Name Type Description name
string Name of the KeyCode.
keyCode
KeyCode KeyCode
-
Callback for the flippable onComplete function.
Name Type Description flippable
Flippable A reference to the flippable (also this refers to the flippable).
-
Callback for the slider action onComplete.
Name Type Description event
object The event object.
slider
Slider A reference to the slider (also this refers to the slider).
-
Callback for the flippable onStart function.
Name Type Description flippable
Flippable A reference to the flippable (also this refers to the flippable).
-
Callback for the slider action onStart.
Name Type Description event
object The event object.
slider
Slider A reference to the slider (also this refers to the slider).
-
Callback for the flippable onUpdate function.
Name Type Description flippable
Flippable A reference to the flippable (also this refers to the flippable).
-
Callback for the slider action onUpdate.
Name Type Description event
object The event object.
slider
Slider A reference to the slider (also this refers to the slider).
-
A PIXI.Point or object in form {x,y}.
Properties:
Name Type Description x
number Indicates whether the Courage component is present.
y
number Indicates whether the Power component is present.