Units now have functions to determine their range, as well as which tiles can be attacked.