made the unit type be a param to AnyMovePossible and its friends, so as to be able to use it from retreat phases as well.