Options
All
  • Public
  • Public/Protected
  • All
Menu

Animator for teams' actions.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

animations

animations: IAnimations

Animations for various battle activities.

battleInfo

battleInfo: IBattleInfo

Battle info for the battle.

Methods

run

  • run<TAction>(teamAction: ITeamAndAction<TAction>, onComplete: function): void
  • Runs a team's action.

    type

    TAction Type of action being performed.

    Type parameters

    Parameters

    • teamAction: ITeamAndAction<TAction>

      Action with the team that wants to execute it.

    • onComplete: function

      Callback for when this is done.

        • (): void
        • Returns void

    Returns void

Generated using TypeDoc