mirror of
https://github.com/wassname/phaser.git
synced 2026-07-28 11:23:50 +08:00
Tidying up source code for release. Also refactored World to use a Group instance, rather tha duplicate functions.
This commit is contained in:
@@ -168,10 +168,7 @@ Object.defineProperty(Phaser.Animation.prototype, "frameTotal", {
|
||||
|
||||
get: function () {
|
||||
return this._frames.length;
|
||||
},
|
||||
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
@@ -200,9 +197,6 @@ Object.defineProperty(Phaser.Animation.prototype, "frame", {
|
||||
this._parent.setTexture(PIXI.TextureCache[this.currentFrame.uuid]);
|
||||
}
|
||||
|
||||
},
|
||||
|
||||
enumerable: true,
|
||||
configurable: true
|
||||
}
|
||||
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user