remove physics loader flags in p2 world, fix naming in loader

This commit is contained in:
Georgios Kaleadis 2014-03-31 10:46:17 +03:00
parent b01ad969ab
commit 0a456d81c1
2 changed files with 8 additions and 8 deletions

View file

@ -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)
{

View file

@ -170,12 +170,6 @@ Phaser.Physics.P2 = function (game, config) {
};
/**
* @const
* @type {number}
*/
Phaser.Physics.P2.LIME_CORONA_JSON = 0;
Phaser.Physics.P2.prototype = {
/**