Testing simultaneous lights on screen

This commit is contained in:
Andrew Kesterson
2014-06-11 10:52:44 -07:00
parent 08f6ddb73f
commit 07578b117f

View File

@@ -232,7 +232,7 @@ GameState.prototype.create = function()
this.lights = game.add.group();
for (i = 0; i < 20 ; i++ ) {
this.lights.add(
Torch(game,
new Torch(game,
game.rnd.integerInRange(0, game.width),
game.rnd.integerInRange(0, game.heighh)
)