def __init__(self, universe, id, x, y, owner, ship_count, growth_rate): Planet.__init__(self, universe, id, x, y, owner, ship_count, growth_rate) self._future_cache = [copy(self)]
def __init__(self, universe, id, x, y, owner, ship_count, growth_rate): Planet.__init__(self, universe, id, x, y, owner, ship_count, growth_rate) self._future_cache = [copy(self)] self.dist_closest_enemy = (-1,0) #turn, value self.dist_closest_mine = (-1,0) self._score_cache = {}