Type Parameters

Hierarchy

Implemented by

Properties

actionStack: readonly ActionType[]
executor: E
hasSetCanUse: boolean
lastAction: ActionType

Methods

  • The items passed to this method will be registered as items potentially to be damaged when the action completes.

    Parameters

    • Rest ...items: (undefined | default)[]

    Returns IActionApi<E, CU>

  • Parameters

    • Rest ...skills: [skill: SkillType, multiplier?: number, actionTier?: number, bypass?: true][]

    Returns IActionApi<E, CU>

  • Parameters

    • skill: SkillType
    • Optional multiplier: number
    • Optional actionTier: number
    • Optional bypass: true

    Returns IActionApi<E, CU>

  • Returns the items registered for this action via addItems.

    Returns readonly default[]

  • Type Parameters

    Parameters

    • argument: any
    • index: number
    • argumentType: A

    Returns argument is IActionArgumentTypeMap[A]

  • 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

  • Removes all items added via addItems

    Returns IActionApi<E, CU>

  • Removes specific items added by addItems

    Parameters

    • Rest ...items: (undefined | default)[]

    Returns IActionApi<E, CU>

  • Parameters

    • delay: number
    • Optional replace: boolean

    Returns IActionApi<E, CU>

  • Parameters

    Returns IActionApi<E, CU>

  • Parameters

    • color: IRGB
    • Optional count: number
    • Optional inFront: boolean

    Returns IActionApi<E, CU>

  • Parameters

    • color: IRGB
    • Optional inFront: boolean

    Returns IActionApi<E, CU>

  • Parameters

    Returns IActionApi<E, CU>

  • Parameters

    • amount: number

    Returns IActionApi<E, CU>

  • Parameters

    • Optional skill: SkillType
    • Optional actionTier: number

    Returns IActionApi<E, CU>

  • Returns IActionApi<E, CU>

  • Returns IActionApi<E, CU>

  • Parameters

    • Optional updateFov: boolean

    Returns IActionApi<E, CU>

  • Returns IActionApi<E, CU>

Generated using TypeDoc