def wrap(self, loc): '''Finds the true on-map coordinates of an unwrapped location.''' return antmath.wrap_loc(loc, (self.game['rows'], self.game['cols']))
def wrap(self, loc): return am.wrap_loc(loc, self.size)