You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/loader/filetypes/AnimationJSONFile.js
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -26,7 +26,7 @@ var LoaderEvents = require('../events');
26
26
* @param {Phaser.Loader.LoaderPlugin} loader - A reference to the Loader that is responsible for this file.
27
27
* @param {(string|Phaser.Loader.FileTypes.JSONFileConfig)} key - The key to use for this file, or a file configuration object.
28
28
* @param {string} [url] - The absolute or relative URL to load this file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json".
29
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [xhrSettings] - Extra XHR Settings specifically for this file.
29
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [xhrSettings] - Extra XHR Settings specifically for this file.
30
30
* @param {string} [dataKey] - When the JSON file loads only this property will be stored in the Cache.
31
31
*/
32
32
varAnimationJSONFile=newClass({
@@ -169,7 +169,7 @@ var AnimationJSONFile = new Class({
169
169
* @param {(string|Phaser.Loader.FileTypes.JSONFileConfig|Phaser.Loader.FileTypes.JSONFileConfig[])} key - The key to use for this file, or a file configuration object, or array of them.
170
170
* @param {string} [url] - The absolute or relative URL to load this file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json".
171
171
* @param {string} [dataKey] - When the Animation JSON file loads only this property will be stored in the Cache and used to create animation data.
172
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [xhrSettings] - An XHR Settings configuration object. Used in replacement of the Loaders default XHR Settings.
172
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [xhrSettings] - An XHR Settings configuration object. Used in replacement of the Loaders default XHR Settings.
173
173
*
174
174
* @return {Phaser.Loader.LoaderPlugin} The Loader instance.
Copy file name to clipboardExpand all lines: src/loader/filetypes/AtlasJSONFile.js
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -18,11 +18,11 @@ var MultiFile = require('../MultiFile.js');
18
18
* @property {string} key - The key of the file. Must be unique within both the Loader and the Texture Manager.
19
19
* @property {string} [textureURL] - The absolute or relative URL to load the texture image file from.
20
20
* @property {string} [textureExtension='png'] - The default file extension to use for the image texture if no url is provided.
21
-
* @property {Phaser.Loader.Types.XHRSettingsObject} [textureXhrSettings] - Extra XHR Settings specifically for the texture image file.
21
+
* @property {Phaser.Types.Loader.XHRSettingsObject} [textureXhrSettings] - Extra XHR Settings specifically for the texture image file.
22
22
* @property {string} [normalMap] - The filename of an associated normal map. It uses the same path and url to load as the texture image.
23
23
* @property {string} [atlasURL] - The absolute or relative URL to load the atlas json file from. Or a well formed JSON object to use instead.
24
24
* @property {string} [atlasExtension='json'] - The default file extension to use for the atlas json if no url is provided.
25
-
* @property {Phaser.Loader.Types.XHRSettingsObject} [atlasXhrSettings] - Extra XHR Settings specifically for the atlas json file.
25
+
* @property {Phaser.Types.Loader.XHRSettingsObject} [atlasXhrSettings] - Extra XHR Settings specifically for the atlas json file.
26
26
*/
27
27
28
28
/**
@@ -45,8 +45,8 @@ var MultiFile = require('../MultiFile.js');
45
45
* @param {(string|Phaser.Loader.FileTypes.AtlasJSONFileConfig)} key - The key to use for this file, or a file configuration object.
46
46
* @param {string|string[]} [textureURL] - The absolute or relative URL to load the texture image file from. If undefined or `null` it will be set to `<key>.png`, i.e. if `key` was "alien" then the URL will be "alien.png".
47
47
* @param {string} [atlasURL] - The absolute or relative URL to load the texture atlas json data file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json".
48
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [textureXhrSettings] - An XHR Settings configuration object for the atlas image file. Used in replacement of the Loaders default XHR Settings.
49
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [atlasXhrSettings] - An XHR Settings configuration object for the atlas json file. Used in replacement of the Loaders default XHR Settings.
48
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [textureXhrSettings] - An XHR Settings configuration object for the atlas image file. Used in replacement of the Loaders default XHR Settings.
49
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [atlasXhrSettings] - An XHR Settings configuration object for the atlas json file. Used in replacement of the Loaders default XHR Settings.
50
50
*/
51
51
varAtlasJSONFile=newClass({
52
52
@@ -221,8 +221,8 @@ var AtlasJSONFile = new Class({
221
221
* @param {(string|Phaser.Loader.FileTypes.AtlasJSONFileConfig|Phaser.Loader.FileTypes.AtlasJSONFileConfig[])} key - The key to use for this file, or a file configuration object, or array of them.
222
222
* @param {string|string[]} [textureURL] - The absolute or relative URL to load the texture image file from. If undefined or `null` it will be set to `<key>.png`, i.e. if `key` was "alien" then the URL will be "alien.png".
223
223
* @param {string} [atlasURL] - The absolute or relative URL to load the texture atlas json data file from. If undefined or `null` it will be set to `<key>.json`, i.e. if `key` was "alien" then the URL will be "alien.json".
224
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [textureXhrSettings] - An XHR Settings configuration object for the atlas image file. Used in replacement of the Loaders default XHR Settings.
225
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [atlasXhrSettings] - An XHR Settings configuration object for the atlas json file. Used in replacement of the Loaders default XHR Settings.
224
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [textureXhrSettings] - An XHR Settings configuration object for the atlas image file. Used in replacement of the Loaders default XHR Settings.
225
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [atlasXhrSettings] - An XHR Settings configuration object for the atlas json file. Used in replacement of the Loaders default XHR Settings.
226
226
*
227
227
* @return {Phaser.Loader.LoaderPlugin} The Loader instance.
Copy file name to clipboardExpand all lines: src/loader/filetypes/AtlasXMLFile.js
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -18,11 +18,11 @@ var XMLFile = require('./XMLFile.js');
18
18
* @property {string} key - The key of the file. Must be unique within both the Loader and the Texture Manager.
19
19
* @property {string} [textureURL] - The absolute or relative URL to load the texture image file from.
20
20
* @property {string} [textureExtension='png'] - The default file extension to use for the image texture if no url is provided.
21
-
* @property {Phaser.Loader.Types.XHRSettingsObject} [textureXhrSettings] - Extra XHR Settings specifically for the texture image file.
21
+
* @property {Phaser.Types.Loader.XHRSettingsObject} [textureXhrSettings] - Extra XHR Settings specifically for the texture image file.
22
22
* @property {string} [normalMap] - The filename of an associated normal map. It uses the same path and url to load as the texture image.
23
23
* @property {string} [atlasURL] - The absolute or relative URL to load the atlas xml file from.
24
24
* @property {string} [atlasExtension='xml'] - The default file extension to use for the atlas xml if no url is provided.
25
-
* @property {Phaser.Loader.Types.XHRSettingsObject} [atlasXhrSettings] - Extra XHR Settings specifically for the atlas xml file.
25
+
* @property {Phaser.Types.Loader.XHRSettingsObject} [atlasXhrSettings] - Extra XHR Settings specifically for the atlas xml file.
26
26
*/
27
27
28
28
/**
@@ -43,8 +43,8 @@ var XMLFile = require('./XMLFile.js');
43
43
* @param {(string|Phaser.Loader.FileTypes.AtlasXMLFileConfig)} key - The key to use for this file, or a file configuration object.
44
44
* @param {string|string[]} [textureURL] - The absolute or relative URL to load the texture image file from. If undefined or `null` it will be set to `<key>.png`, i.e. if `key` was "alien" then the URL will be "alien.png".
45
45
* @param {string} [atlasURL] - The absolute or relative URL to load the texture atlas xml data file from. If undefined or `null` it will be set to `<key>.xml`, i.e. if `key` was "alien" then the URL will be "alien.xml".
46
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [textureXhrSettings] - An XHR Settings configuration object for the atlas image file. Used in replacement of the Loaders default XHR Settings.
47
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [atlasXhrSettings] - An XHR Settings configuration object for the atlas xml file. Used in replacement of the Loaders default XHR Settings.
46
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [textureXhrSettings] - An XHR Settings configuration object for the atlas image file. Used in replacement of the Loaders default XHR Settings.
47
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [atlasXhrSettings] - An XHR Settings configuration object for the atlas xml file. Used in replacement of the Loaders default XHR Settings.
48
48
*/
49
49
varAtlasXMLFile=newClass({
50
50
@@ -215,8 +215,8 @@ var AtlasXMLFile = new Class({
215
215
* @param {(string|Phaser.Loader.FileTypes.AtlasXMLFileConfig|Phaser.Loader.FileTypes.AtlasXMLFileConfig[])} key - The key to use for this file, or a file configuration object, or array of them.
216
216
* @param {string|string[]} [textureURL] - The absolute or relative URL to load the texture image file from. If undefined or `null` it will be set to `<key>.png`, i.e. if `key` was "alien" then the URL will be "alien.png".
217
217
* @param {string} [atlasURL] - The absolute or relative URL to load the texture atlas xml data file from. If undefined or `null` it will be set to `<key>.xml`, i.e. if `key` was "alien" then the URL will be "alien.xml".
218
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [textureXhrSettings] - An XHR Settings configuration object for the atlas image file. Used in replacement of the Loaders default XHR Settings.
219
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [atlasXhrSettings] - An XHR Settings configuration object for the atlas xml file. Used in replacement of the Loaders default XHR Settings.
218
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [textureXhrSettings] - An XHR Settings configuration object for the atlas image file. Used in replacement of the Loaders default XHR Settings.
219
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [atlasXhrSettings] - An XHR Settings configuration object for the atlas xml file. Used in replacement of the Loaders default XHR Settings.
220
220
*
221
221
* @return {Phaser.Loader.LoaderPlugin} The Loader instance.
Copy file name to clipboardExpand all lines: src/loader/filetypes/AudioFile.js
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -17,7 +17,7 @@ var IsPlainObject = require('../../utils/object/IsPlainObject');
17
17
*
18
18
* @property {string} key - The key of the file. Must be unique within the Loader and Audio Cache.
19
19
* @property {string} [urlConfig] - The absolute or relative URL to load the file from.
20
-
* @property {Phaser.Loader.Types.XHRSettingsObject} [xhrSettings] - Extra XHR Settings specifically for this file.
20
+
* @property {Phaser.Types.Loader.XHRSettingsObject} [xhrSettings] - Extra XHR Settings specifically for this file.
21
21
* @property {AudioContext} [audioContext] - The AudioContext this file will use to process itself.
22
22
*/
23
23
@@ -38,7 +38,7 @@ var IsPlainObject = require('../../utils/object/IsPlainObject');
38
38
* @param {Phaser.Loader.LoaderPlugin} loader - A reference to the Loader that is responsible for this file.
39
39
* @param {(string|Phaser.Loader.FileTypes.AudioFileConfig)} key - The key to use for this file, or a file configuration object.
40
40
* @param {any} [urlConfig] - The absolute or relative URL to load this file from in a config object.
41
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [xhrSettings] - Extra XHR Settings specifically for this file.
41
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [xhrSettings] - Extra XHR Settings specifically for this file.
42
42
* @param {AudioContext} [audioContext] - The AudioContext this file will use to process itself.
43
43
*/
44
44
varAudioFile=newClass({
@@ -227,7 +227,7 @@ AudioFile.getAudioURL = function (game, urls)
227
227
* @param {(string|Phaser.Loader.FileTypes.AudioFileConfig|Phaser.Loader.FileTypes.AudioFileConfig[])} key - The key to use for this file, or a file configuration object, or array of them.
228
228
* @param {(string|string[])} [urls] - The absolute or relative URL to load the audio files from.
229
229
* @param {any} [config] - An object containing an `instances` property for HTML5Audio. Defaults to 1.
230
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [xhrSettings] - An XHR Settings configuration object. Used in replacement of the Loaders default XHR Settings.
230
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [xhrSettings] - An XHR Settings configuration object. Used in replacement of the Loaders default XHR Settings.
231
231
*
232
232
* @return {Phaser.Loader.LoaderPlugin} The Loader instance.
Copy file name to clipboardExpand all lines: src/loader/filetypes/AudioSpriteFile.js
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -17,10 +17,10 @@ var MultiFile = require('../MultiFile.js');
17
17
*
18
18
* @property {string} key - The key of the file. Must be unique within both the Loader and the Audio Cache.
19
19
* @property {string} jsonURL - The absolute or relative URL to load the json file from. Or a well formed JSON object to use instead.
20
-
* @property {Phaser.Loader.Types.XHRSettingsObject} [jsonXhrSettings] - Extra XHR Settings specifically for the json file.
20
+
* @property {Phaser.Types.Loader.XHRSettingsObject} [jsonXhrSettings] - Extra XHR Settings specifically for the json file.
21
21
* @property {{(string|string[])}} [audioURL] - The absolute or relative URL to load the audio file from.
22
22
* @property {any} [audioConfig] - The audio configuration options.
23
-
* @property {Phaser.Loader.Types.XHRSettingsObject} [audioXhrSettings] - Extra XHR Settings specifically for the audio file.
23
+
* @property {Phaser.Types.Loader.XHRSettingsObject} [audioXhrSettings] - Extra XHR Settings specifically for the audio file.
24
24
*/
25
25
26
26
/**
@@ -42,8 +42,8 @@ var MultiFile = require('../MultiFile.js');
42
42
* @param {string} jsonURL - The absolute or relative URL to load the json file from. Or a well formed JSON object to use instead.
43
43
* @param {{(string|string[])}} [audioURL] - The absolute or relative URL to load the audio file from. If empty it will be obtained by parsing the JSON file.
44
44
* @param {any} [audioConfig] - The audio configuration options.
45
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [audioXhrSettings] - An XHR Settings configuration object for the audio file. Used in replacement of the Loaders default XHR Settings.
46
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [jsonXhrSettings] - An XHR Settings configuration object for the json file. Used in replacement of the Loaders default XHR Settings.
45
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [audioXhrSettings] - An XHR Settings configuration object for the audio file. Used in replacement of the Loaders default XHR Settings.
46
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [jsonXhrSettings] - An XHR Settings configuration object for the json file. Used in replacement of the Loaders default XHR Settings.
47
47
*/
48
48
varAudioSpriteFile=newClass({
49
49
@@ -246,8 +246,8 @@ var AudioSpriteFile = new Class({
246
246
* @param {string} jsonURL - The absolute or relative URL to load the json file from. Or a well formed JSON object to use instead.
247
247
* @param {(string|string[])} [audioURL] - The absolute or relative URL to load the audio file from. If empty it will be obtained by parsing the JSON file.
248
248
* @param {any} [audioConfig] - The audio configuration options.
249
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [audioXhrSettings] - An XHR Settings configuration object for the audio file. Used in replacement of the Loaders default XHR Settings.
250
-
* @param {Phaser.Loader.Types.XHRSettingsObject} [jsonXhrSettings] - An XHR Settings configuration object for the json file. Used in replacement of the Loaders default XHR Settings.
249
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [audioXhrSettings] - An XHR Settings configuration object for the audio file. Used in replacement of the Loaders default XHR Settings.
250
+
* @param {Phaser.Types.Loader.XHRSettingsObject} [jsonXhrSettings] - An XHR Settings configuration object for the json file. Used in replacement of the Loaders default XHR Settings.
251
251
*
252
252
* @return {Phaser.Loader.LoaderPlugin} The Loader.
0 commit comments