Changes to Attacker class to check distance as it moves forward.