Skip to content

1681-engine / ui / ShieldOptions

Interface: ShieldOptions ​

Defined in: src/ui/dom/shieldDecision.ts:36

Properties ​

uiKeys? ​

ts
optional uiKeys?: readonly string[];

Defined in: src/ui/dom/shieldDecision.ts:41

Keys a focused, non-typing UI element (a button) keeps from the game: the ones that press it (default Enter, Space). Others still reach the game, so a button left focused after a click does not stop the hero walking.

Released under the MIT License.