Hierarchy (view full)

Constructors

Properties

bgSprite: TileSprite | Rectangle
move: Moves
playRegardlessOfIssues: boolean

Will attempt to play as much of an animation as possible, even if not all targets are on the field. Will also play the animation, even if the user has selected "Move Animations" OFF in Settings. Exclusively used by MEs atm, for visual animations at the start of an encounter.

sprites: Sprite[]
target: null | default
user: null | default

Methods

  • Parameters

    • scene: default
    • targetInitialX: number
    • targetInitialY: number
    • frameTimeMult: number
    • OptionalframeTimedEventPriority:
          | 0
          | 1
          | 3
          | 5

      0 is behind all other sprites (except BG)

      • 1 on top of player field
      • 3 is on top of both fields
      • 5 is on top of player sprite
    • Optionalcallback: Function

    Returns void