Refactoring
This commit is contained in:
@@ -154,7 +154,7 @@ var Torch = function(game, x, y) {
|
|||||||
Torch.prototype = Object.create(Phaser.Sprite.prototype);
|
Torch.prototype = Object.create(Phaser.Sprite.prototype);
|
||||||
Torch.prototype.constructor = Torch;
|
Torch.prototype.constructor = Torch;
|
||||||
|
|
||||||
var Gamestate = function(game) {
|
var GameState = function(game) {
|
||||||
}
|
}
|
||||||
|
|
||||||
Gamestate.prototype.addAnimation = function(obj, anim)
|
Gamestate.prototype.addAnimation = function(obj, anim)
|
||||||
|
|||||||
Reference in New Issue
Block a user