public GovernmentGrantManager(ActionCard<GovernmentGrantItem> card, IEnumerable<Node> nodes, ResearchStationCounter researchStationCounter) { this.nodes = nodes; this.card = card; this.researchStationCounter = researchStationCounter; this.researchStationCounter.ResearchStationConstructed += ResearchStationChanged; Update(); }
internal ResearchStationConstructionManager(Player player, ResearchStationCounter counter, IEnumerable<Node> nodes) { this.player = player; this.player.Hand.HandChanged += HandChanged; this.player.Moved += PlayerMoved; this.player.ActionCounter.ActionUsed += ActionUsed; this.counter = counter; this.counter.ResearchStationConstructed += ResearchStationChanged; this.counter.ResearchStationDestroyed += ResearchStationChanged; this.nodes = nodes; Update(); }