Header menu logo Mibo

ActionState Module

Functions and values

Function or value Description

empty

Full Usage: empty

Returns: ActionState<'a>
Returns: ActionState<'a>

nextFrame state

Full Usage: nextFrame state

Parameters:
Returns: ActionState<'Action>
state : ActionState<'Action>
Returns: ActionState<'Action>

update map isDown trigger state

Full Usage: update map isDown trigger state

Parameters:
Returns: ActionState<'Action>

Pure state-update for a single trigger transition. Backend-agnostic: the caller supplies isDown, so this function never touches a native API.

map : InputMap<'Action>
isDown : bool
trigger : Trigger
state : ActionState<'Action>
Returns: ActionState<'Action>

Type something to start searching.