Skip to content

BackInputHandler

Inherits: Node

DEPRECATED: Use InputWatcher with StateUpdater instead

Properties

Type Name Default
StateMachine state_machine
State[] process_input_during []
int minimum_states 1
CustomLogger logger

Property Descriptions

state_machine

StateMachine state_machine

The state machine to use to update when back input is pressed

process_input_during

State[] process_input_during = []

Pop the state machine when back input is pressed during any of these states

minimum_states

int minimum_states = 1

Minimum number of states in the state machine stack. BackInputHandler will not pop the state machine stack beyond this number.

logger

CustomLogger logger

Will show logger events with the prefix BackInputHandler