StateMachineSystem

StateMachineSystem

Processes all entities with a StateMachineComponent component.

Constructor

new StateMachineSystem()

Initialize a new StateMachineSystem object.

Members

paused

Determine if the state machine is paused.

Methods

getInputState(key) → {boolean}

Gets the input state for a specified key.

Parameters:
Name Type Description
key string

Identifies the key or button for which the input state
is returned.