ActionRegistry
Class responsible for runtime-persisting actions and associating them with names and predicates.
Types
Link copied to clipboard
class Entry @JvmOverloads constructor(action: Action, situationOverrides: Map<Action.Situation, Action> = emptyMap(), predicate: ActionPredicate? = null)
An entry in the action registry, holding the action, its overrides, and its predicate.
Properties
Functions
Link copied to clipboard
Gets an action entry for a given name.
Link copied to clipboard
Unregisters an action entry.
Link copied to clipboard
Updates the predicate for a registered action entry.
Updates the default action or a situation-specific action override for a registered entry.