phina.js.d.ts
    Preparing search index...

    Interface Ticker

    interface Ticker {
        deltaTime: number;
        elapsedTime: number;
        fps: number;
        frame: number;
        addEventListener(type: string, listener: Function): this;
        clear(type: string): this;
        clearEventListener(type: string): this;
        dispatchEvent(e: { type: string }): this;
        dispatchEventByType(type: string, param: object): this;
        fire(e: { type: string }): this;
        flare(type: string, param?: object): this;
        has(type: string): boolean;
        hasEventListener(type: string): boolean;
        off(type: string, listener: Function): this;
        on(type: string, listener: Function): this;
        one(type: string, listener: Function): this;
        removeEventListener(type: string, listener: Function): this;
        resume(): any;
        rewind(): any;
        run(): number;
        start(): this;
        stop(): this;
        tick(func: Function): void;
        untick(func: Function): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    deltaTime: number
    elapsedTime: number
    fps: number
    frame: number

    Methods

    • Parameters

      • func: Function

      Returns void

    • Parameters

      • func: Function

      Returns void