Type Parameters

Hierarchy

Properties

actionStack: readonly ActionType[]
callingAction: ActionType
executor: E
hasSetCanUse: boolean
targetTile?: default

Result of a non-usable canUse check.

Methods

  • Returns the items registered for this action via addItems.

    Returns readonly default[]

  • Check if a creature on a tile and blocking the execution of the action

    Returns

    When checking before the action is being executed: true if a creature is on a tile and that creature is not hidden, false otherwise

    When checking when the action is being execute true if a creature is on a tile, false otherwise

    Parameters

    Returns boolean

  • Disables sending a message to the executor for this action not being usable.

    Parameters

    • Optional silent: boolean

    Returns any

Generated using TypeDoc