Light meter

This commit is contained in:
2014-06-14 20:04:21 -07:00
parent 323fb08b1d
commit ce0c202703

View File

@@ -1098,7 +1098,7 @@ GameState.prototype.check_input = function()
setSpriteMovement(player);
}
GameState.prototype.update_player_lightmeter() {
GameState.prototype.update_player_lightmeter = function() {
lightValue = 0;
this.staticLights.forEach(function(light) {
var xd = (spr.x - light.x);