mirror of
https://github.com/wassname/phaser.git
synced 2026-08-14 12:40:17 +08:00
Fixed an error that stopped 2 tweens from being able to run on the same object. Also refactored a lot of the classes to remove prototype properties and move them to local instance properties.
This commit is contained in:
+4
-4
@@ -3,15 +3,15 @@ Phaser.World = function (game) {
|
||||
this.game = game;
|
||||
|
||||
this.bounds = new Phaser.Rectangle(0, 0, game.width, game.height);
|
||||
|
||||
this.camera = null;
|
||||
|
||||
this.currentRenderOrderID = 0;
|
||||
|
||||
};
|
||||
|
||||
Phaser.World.prototype = {
|
||||
|
||||
bounds: null,
|
||||
camera: null,
|
||||
|
||||
currentRenderOrderID: 0,
|
||||
|
||||
boot: function () {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user