gameforge - v0.1.12
    Preparing search index...

    Interface IResourcePlugin<R, RO>

    Shape of supported resource plugins

    PIXI

    interface IResourcePlugin<R, RO> {
        new IResourcePlugin(source: any, options?: RO): R;
        test(source: unknown, extension: string): boolean;
    }

    Type Parameters

    • R
    • RO
    Index

    Constructors

    Methods

    Constructors

    • Parameters

      • source: any
      • Optionaloptions: RO

      Returns R

    Methods

    • Parameters

      • source: unknown
      • extension: string

      Returns boolean