Factor out targeting into mobile class, removing duplicate code from human and zombie