Light meter

This commit is contained in:
2014-06-14 19:42:17 -07:00
parent b76fe63520
commit 9bb65faf68

View File

@@ -1105,6 +1105,7 @@ GameState.prototype.update = function()
var val = (x['r'] + x['g'] + x['b']) / 3;
if ( val > lightness )
lightness = val;
return false;
},
this,
player.x,