Constructors
constructor
- new UiInputs(scene, inputsController): UiInputs
Properties
Private
events
events: EventEmitter
Methods
buttonAb
- buttonAb(button): void
Returns void
buttonCycleOption
- buttonCycleOption(button): void
Returns void
buttonDirection
- buttonDirection(direction): void
Returns void
buttonInfo
- buttonInfo(pressed?): void
Returns void
buttonMenu
- buttonMenu(): void
Returns void
buttonSpeedChange
- buttonSpeedChange(up?): void
Returns void
buttonStats
- buttonStats(pressed?): void
Returns void
buttonTouch
- buttonTouch(): void
Returns void
doVibration
- doVibration(inputSuccess, vibrationLength): void
Parameters
- inputSuccess: boolean
- vibrationLength: number
Returns void
getActionsKeyDown
- getActionsKeyDown(): ActionKeys
Returns ActionKeys
getActionsKeyUp
- getActionsKeyUp(): ActionKeys
Returns ActionKeys
listenInputs
- listenInputs(): void
Returns void