Refactored code between Creep and CreepSquad