Namespace in reactor_fight_tactical.js

Controls

4 functions in 2 groups · hide internal

A Tactical battle on a 2D map.

Quick Reference

Getting Information 1

name() The name of the control for one of the battle's actions: "ok", "cancel", "left", "right", or a name of F.KEYS…

Other 3

used() A key or the mouse was used ("keys"), or a gamepad ("pad"): the names shown follow.
keyName() A key as a player knows it; "" for one with no name.
label() The name of the key (for a pad: the button) that gives an Input symbol; "" when none does.

Getting Information

name

static source
Controls.name(action, device)

The name of the control for one of the battle's actions: "ok", "cancel", "left", "right", or a name of F.KEYS / "skip".

Other

used

static source
Controls.used(device)

A key or the mouse was used ("keys"), or a gamepad ("pad"): the names shown follow.

keyName

static source
Controls.keyName(code)

A key as a player knows it; "" for one with no name.

label

static source
Controls.label(symbol, device)

The name of the key (for a pad: the button) that gives an Input symbol; "" when none does.