Options
All
  • Public
  • Public/Protected
  • All
Menu

Class TickerListener

Hierarchy

  • TickerListener

Index

Constructors

constructor

  • new TickerListener(fn: function, context?: any, priority?: number, once?: boolean): TickerListener
  • Parameters

    • fn: function
        • (deltaTime: number): void
        • Parameters

          • deltaTime: number

          Returns void

    • Optional context: any
    • Optional priority: number
    • Optional once: boolean

    Returns TickerListener

Properties

Protected _destroyed

_destroyed: boolean

context

context: any

fn

fn: function

Type declaration

    • (deltaTime: number): void
    • Parameters

      • deltaTime: number

      Returns void

next

once

once: boolean

previous

previous: TickerListener

priority

priority: number

Methods

connect

  • Parameters

    Returns void

destroy

  • destroy(hard?: boolean): void
  • Parameters

    • Optional hard: boolean

    Returns void

emit

  • Parameters

    • deltaTime: number

    Returns TickerListener

match

  • match(fn: function, context?: any): boolean
  • Parameters

    • fn: function
        • (deltaTime: number): void
        • Parameters

          • deltaTime: number

          Returns void

    • Optional context: any

    Returns boolean

Generated using TypeDoc