Tidying up source code for release. Also refactored World to use a Group instance, rather tha duplicate functions.

This commit is contained in:
Richard Davey
2013-09-11 13:21:07 +01:00
parent 87858d6bbf
commit f260108433
25 changed files with 278 additions and 487 deletions
+3 -9
View File
@@ -611,10 +611,8 @@ Object.defineProperty(Phaser.Pointer.prototype, "duration", {
return this.game.time.now - this.timeDown;
},
}
enumerable: true,
configurable: true
});
Object.defineProperty(Phaser.Pointer.prototype, "worldX", {
@@ -627,10 +625,8 @@ Object.defineProperty(Phaser.Pointer.prototype, "worldX", {
return this.game.world.camera.x + this.x;
},
}
enumerable: true,
configurable: true
});
Object.defineProperty(Phaser.Pointer.prototype, "worldY", {
@@ -643,8 +639,6 @@ Object.defineProperty(Phaser.Pointer.prototype, "worldY", {
return this.game.world.camera.y + this.y;
},
}
enumerable: true,
configurable: true
});