Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TweenCallback

Calls the specified function and takes 0 time.

Hierarchy

  • TweenCallback

Implements

Index

Constructors

Accessors

Methods

Constructors

constructor

  • Parameters

    • callback: VoidCallback

      Function to call when this tween is advanced

    Returns TweenCallback

Accessors

isFinished

  • get isFinished(): boolean
  • Returns boolean

Methods

advance

  • advance(durationToAdvance: number): number
  • Will call the callback given in the constructor.

    Parameters

    • durationToAdvance: number

      Ignored, left in for compatibility with the interface

    Returns number

    always returns 0

finish

  • finish(): void
  • Will call the callback given in the constructor and mark this tween as finished.

    Returns void

skip

  • skip(): void
  • Will not call the callback and will mark the tween as finished.

    Returns void

Generated using TypeDoc