Skip to main content

Delay

Used for implementing actions for the Action API.

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

  • new Delay(duration: number): Delay
  • Parameters

    • duration: number

    Returns Delay

Properties

id

id: number = ...

Methods

isComplete

  • isComplete(): boolean
  • Returns boolean

reset

  • reset(): void
  • Returns void

publicstop

  • stop(): void
  • Returns void

publicupdate

  • update(elapsed: number): void
  • Parameters

    • elapsed: number

    Returns void