Enemies only attack when the player is in front of them.