mirror of
https://github.com/photonstorm/phaser
synced 2024-11-16 01:38:23 +00:00
remove physics loader flags in p2 world, fix naming in loader
This commit is contained in:
parent
b01ad969ab
commit
0a456d81c1
2 changed files with 8 additions and 8 deletions
|
@ -138,7 +138,13 @@ Phaser.Loader.TEXTURE_ATLAS_XML_STARLING = 2;
|
|||
* @constant
|
||||
* @type {number}
|
||||
*/
|
||||
Phaser.Loader.PHYSICS_LIME_CORONA = 3;
|
||||
Phaser.Loader.PHYSICS_LIME_CORONA_JSON = 3;
|
||||
|
||||
/**
|
||||
* @constant
|
||||
* @type {number}
|
||||
*/
|
||||
Phaser.Loader.PHYSICS_PHASER_JSON = 4;
|
||||
|
||||
Phaser.Loader.prototype = {
|
||||
|
||||
|
@ -576,7 +582,7 @@ Phaser.Loader.prototype = {
|
|||
|
||||
if (typeof dataURL === "undefined") { dataURL = null; }
|
||||
if (typeof jsonData === "undefined") { jsonData = null; }
|
||||
if (typeof format === "undefined") { format = Phaser.Physics.LIME_CORONA_JSON; }
|
||||
if (typeof format === "undefined") { format = Phaser.Loader.PHYSICS_LIME_CORONA_JSON; }
|
||||
|
||||
if (dataURL == null && jsonData == null)
|
||||
{
|
||||
|
|
|
@ -170,12 +170,6 @@ Phaser.Physics.P2 = function (game, config) {
|
|||
|
||||
};
|
||||
|
||||
/**
|
||||
* @const
|
||||
* @type {number}
|
||||
*/
|
||||
Phaser.Physics.P2.LIME_CORONA_JSON = 0;
|
||||
|
||||
Phaser.Physics.P2.prototype = {
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue