Making AI able to 'see' the player

This commit is contained in:
2014-06-14 16:24:30 -07:00
parent f042af012c
commit 06e61f1a1a

View File

@@ -1123,7 +1123,7 @@ GameState.prototype.update = function()
var r = x.viewRectangle();
if ( r == null )
return;
this.shadowTexture.context.fillStyle = 'rgba(255, 255, 255)';
this.shadowTexture.context.fillStyle = 'rgba(128, 128, 128)';
this.shadowTexture.context.fillRect(r.left,
r.top,
r.right,