UNPKG

phaser

Version:

A fast, free and fun HTML5 Game Framework for Desktop and Mobile web browsers from the team at Phaser Studio Inc.

11 lines (10 loc) 723 B
/** * @typedef {object} Phaser.Types.Loader.FileTypes.ScenePluginFileConfig * * @property {string} key - The key of the file. Must be unique within the Loader. * @property {(string|function)} [url] - The absolute or relative URL to load the file from. Or, a Scene Plugin. * @property {string} [extension='js'] - The default file extension to use if no url is provided. * @property {string} [systemKey] - If this plugin is to be added to Scene.Systems, this is the property key for it. * @property {string} [sceneKey] - If this plugin is to be added to the Scene, this is the property key for it. * @property {Phaser.Types.Loader.XHRSettingsObject} [xhrSettings] - Extra XHR Settings specifically for this file. */