Making AI able to 'see' the player

This commit is contained in:
2014-06-14 15:03:08 -07:00
parent 9b1dda9da5
commit 2ae5caec21

View File

@@ -1136,7 +1136,6 @@ GameState.prototype.update = function()
}
if ( x.collide_with_player == false )
return;
console.log(canSeeSprite(x, player));
this.physics.arcade.collide(x, player);
}