def get_interpolated_center(self, current_time):
      x = 0
      y = 0
      amount = 0
      for id in self.ids:
        cell = self.game.get_cell(id)
        if cell:
          x += cell.interpolated_x
          y += cell.interpolated_y
          amount += 1
      amount = max(1, amount)
      return x/float(amount), y/float(amount)
dataset/ETHPy150Open Raeon/pygar/bot.py/Bot.get_interpolated_center/original