Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Delay

Hierarchy

  • Delay

Implements

Index

Constructors

constructor

  • Parameters

    • actor: Actor
    • delay: number

    Returns Delay

Properties

Private _actor

_actor: Actor

Private _delay

_delay: number

Private _elapsedTime

_elapsedTime: number = 0

Private _started

_started: boolean = false

Private _stopped

_stopped: boolean = false

x

x: number

y

y: number

Methods

isComplete

  • isComplete(actor: Actor): boolean
  • Parameters

    Returns boolean

reset

  • reset(): void
  • Returns void

stop

  • stop(): void
  • Returns void

update

  • update(delta: number): void
  • Parameters

    • delta: number

    Returns void