def costToMoveDelta(self, deltaXY): return self.size()*(1+L.distanceBetween((0,0), deltaXY))*fractional_move_cost
def costToMoveDelta(self, deltaXY): return self.size() * (1 + L.distanceBetween( (0, 0), deltaXY)) * fractional_move_cost
def costOfMoveBetween(self, old_location, new_location): return self.size()*(1+L.distanceBetween(old_location, new_location))*fractional_move_cost
def costOfMoveBetween(self, old_location, new_location): return self.size() * (1 + L.distanceBetween( old_location, new_location)) * fractional_move_cost