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

    Interface Input

    interface Input {
        cachePositions: phina.geom.Vector2[];
        deltaPosition: phina.geom.Vector2;
        dx: number;
        dy: number;
        flags: number;
        flickVelocity: phina.geom.Vector2;
        fx: number;
        fy: number;
        maxCacheNum: number;
        maxDistance: number;
        minDistance: number;
        position: phina.geom.Vector2;
        prevPosition: phina.geom.Vector2;
        startPosition: phina.geom.Vector2;
        x: number;
        y: 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;
        update(): void;
    }

    Hierarchy (View Summary)

    Index

    Properties

    cachePositions: phina.geom.Vector2[]
    deltaPosition: phina.geom.Vector2
    dx: number
    dy: number
    flags: number
    flickVelocity: phina.geom.Vector2
    fx: number
    fy: number
    maxCacheNum: number
    maxDistance: number
    minDistance: number
    position: phina.geom.Vector2
    prevPosition: phina.geom.Vector2
    startPosition: phina.geom.Vector2
    x: number
    y: number

    Methods