Merge pull request #18 from mfpierre/fix-phaser

Phaser 2.3 Compatibility
This commit is contained in:
Lewis Lane
2015-04-02 16:34:17 +01:00
3 changed files with 9 additions and 9 deletions
+3 -3
View File
@@ -1974,11 +1974,11 @@ Object.defineProperty(Phaser.Plugin.Isometric.Projector.prototype, "projectionAn
});;/**
* @class Phaser.Plugin.Isometric.Body
*
*
* @classdesc
* The Physics Body is linked to a single IsoSprite. All physics operations should be performed against the body rather than
* the IsoSprite itself. For example you can set the velocity, acceleration, bounce values etc all on the Body.
*
*
* @constructor
* @param {Phaser.Plugin.Isometric.IsoSprite} sprite - The IsoSprite object this physics body belongs to.
*/
@@ -2459,7 +2459,7 @@ Phaser.Plugin.Isometric.Body.prototype = {
this.preRotation = this.rotation;
if (this._reset || this.sprite._cache[4] === 1) {
if (this._reset || this.sprite.fresh === true) {
this.prev.x = this.position.x;
this.prev.y = this.position.y;
this.prev.z = this.position.z;
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -1,10 +1,10 @@
/**
* @class Phaser.Plugin.Isometric.Body
*
*
* @classdesc
* The Physics Body is linked to a single IsoSprite. All physics operations should be performed against the body rather than
* the IsoSprite itself. For example you can set the velocity, acceleration, bounce values etc all on the Body.
*
*
* @constructor
* @param {Phaser.Plugin.Isometric.IsoSprite} sprite - The IsoSprite object this physics body belongs to.
*/
@@ -485,7 +485,7 @@ Phaser.Plugin.Isometric.Body.prototype = {
this.preRotation = this.rotation;
if (this._reset || this.sprite._cache[4] === 1) {
if (this._reset || this.sprite.fresh === true) {
this.prev.x = this.position.x;
this.prev.y = this.position.y;
this.prev.z = this.position.z;