Options
All
  • Public
  • Public/Protected
  • All
Menu

External module "Animations"

Index

Type aliases

IOnBattleComplete

IOnBattleComplete: function

Animation for when the battle is complete.

param

Descriptor of what finished the battle.

param

Callback for when it's safe to dispose of battle info.

Type declaration

    • (outcome: BattleOutcome, onComplete?: undefined | function): void
    • Parameters

      • outcome: BattleOutcome
      • Optional onComplete: undefined | function

      Returns void

IOnEnter

IOnEnter: function

Animation for when an actor enters battle.

param

Callback for when this is done.

Type declaration

    • (onComplete: function): void
    • Parameters

      • onComplete: function
          • (): void
          • Returns void

      Returns void

IOnExit

IOnExit: function

Animation for when an actor exits battle.

param

Callback for when this is done.

Type declaration

    • (onComplete: function): void
    • Parameters

      • onComplete: function
          • (): void
          • Returns void

      Returns void

IOnHealthChange

IOnHealthChange: function

Animation for when an actor's health changes.

param

New value for the actor's health.

param

Callback for when this is done.

Type declaration

    • (health: number, onComplete: function): void
    • Parameters

      • health: number
      • onComplete: function
          • (): void
          • Returns void

      Returns void

IOnKnockout

IOnKnockout: function

Animation for when an actor gets knocked out.

param

Callback for when this is done.

Type declaration

    • (onComplete: function): void
    • Parameters

      • onComplete: function
          • (): void
          • Returns void

      Returns void

IOnStart

IOnStart: function

Animation for a battle starting.

param

Callback for when this is done.

Type declaration

    • (onComplete: function): void
    • Parameters

      • onComplete: function
          • (): void
          • Returns void

      Returns void

Generated using TypeDoc