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

    Interface AssetManagerStatic

    interface AssetManagerStatic {
        assets: {
            image: { [key: string]: phina.asset.Asset };
            sound: { [key: string]: phina.asset.Asset };
            spritesheet: { [key: string]: phina.asset.Asset };
        };
        contains(type: string, key: string): void;
        get(type: string, key: string): phina.asset.Asset;
        set(type: string, key: string, asset: phina.asset.Asset): void;
    }
    Index

    Properties

    Methods

    Properties

    assets: {
        image: { [key: string]: phina.asset.Asset };
        sound: { [key: string]: phina.asset.Asset };
        spritesheet: { [key: string]: phina.asset.Asset };
    }

    Methods

    • Parameters

      • type: string
      • key: string

      Returns void