@@ -14,6 +14,28 @@ var ParseXMLBitmapFont = require('../gameobjects/bitmaptext/ParseXMLBitmapFont')
1414var PluginManager = require ( '../boot/PluginManager' ) ;
1515var XHRSettings = require ( './XHRSettings' ) ;
1616
17+ /**
18+ * @typedef {object } LoaderFileObject
19+ *
20+ * @property {string } key - [description]
21+ * @property {string } type - [description]
22+ * @property {string } [url] - [description]
23+ * @property {string[] } [urls] - [description]
24+ * @property {string } [textureURL] - [description]
25+ * @property {string } [atlasURL] - [description]
26+ * @property {string } [xmlURL] - [description]
27+ * @property {string[] } [textureURLs] - [description]
28+ * @property {string[] } [atlasURLs] - [description]
29+ * @property {object } [config] - [description]
30+ * @property {object } [json] - [description]
31+ * @property {XHRSettingsObject } [xhrSettings] - [description]
32+ * @property {XHRSettingsObject } [textureXhrSettings] - [description]
33+ * @property {XHRSettingsObject } [atlasXhrSettings] - [description]
34+ * @property {XHRSettingsObject } [xmlXhrSettings] - [description]
35+ * @property {XHRSettingsObject } [audioXhrSettings] - [description]
36+ * @property {XHRSettingsObject } [jsonXhrSettings] - [description]
37+ */
38+
1739/**
1840 * @classdesc
1941 * [description]
@@ -882,7 +904,7 @@ var LoaderPlugin = new Class({
882904 * @method Phaser.Loader.LoaderPlugin#loadArray
883905 * @since 3.0.0
884906 *
885- * @param {array } files - [description]
907+ * @param {LoaderFileObject[] } files - [description]
886908 *
887909 * @return {boolean } [description]
888910 */
@@ -905,7 +927,7 @@ var LoaderPlugin = new Class({
905927 * @method Phaser.Loader.LoaderPlugin#file
906928 * @since 3.0.0
907929 *
908- * @param {object } file - [description]
930+ * @param {LoaderFileObject } file - [description]
909931 *
910932 * @return {Phaser.Loader.File } [description]
911933 */
0 commit comments