Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CallbackTimer

Hierarchy

  • CallbackTimer

Index

Constructors

constructor

Properties

Private _callback

_callback: any

Private _delay

_delay: number

Private _elapsed

_elapsed: number

Private _interval

_interval: number

Private _lock

_lock: boolean

Private _repeat

_repeat: number

Private _runForever

_runForever: boolean

Private _scheduler

_scheduler: any

Private _target

_target: ISchedulable | null

Private _timesExecuted

_timesExecuted: number

Private _useDelay

_useDelay: boolean

Static _timers

_timers: any = []

Methods

cancel

  • cancel(): void

getCallback

  • getCallback(): any

getInterval

  • getInterval(): number

initWithCallback

  • initWithCallback(scheduler: any, callback: any, target: ISchedulable, seconds: number, repeat: number, delay: number): boolean

setInterval

  • setInterval(interval: any): void

trigger

  • trigger(): void

update

  • update(dt: number): void

Static get

  • get(): any

Static put

  • put(timer: any): void

Generated using TypeDoc