Refactoring

This commit is contained in:
Andrew Kesterson
2014-06-11 10:05:44 -07:00
parent 30c7f7c786
commit 1191bada80

View File

@@ -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)