Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Timer

Hierarchy

  • Timer

Implements

Index

Constructors

constructor

  • new Timer(interval: number, fps: number): Timer
  • Parameters

    • interval: number
    • fps: number

    Returns Timer

Properties

Private _scaledElapsed

_scaledElapsed: number

Private _scaledInterval

_scaledInterval: number

elapsed

elapsed: Trigger<void>

interval

interval: number

Methods

canDelete

  • canDelete(): boolean
  • Returns boolean

destroy

  • destroy(): void

destroyed

  • destroyed(): boolean

tick

  • tick(): void
  • Returns void

Generated using TypeDoc