public void InjectDependencies(
     IGameCore gameCore, ICivDiscoveryCanon civDiscoveryCanon,
     IDiplomacyCore diplomacyCore, IExchangeBuilder exchangeBuilder
     )
 {
     GameCore          = gameCore;
     CivDiscoveryCanon = civDiscoveryCanon;
     DiplomacyCore     = diplomacyCore;
     ExchangeBuilder   = exchangeBuilder;
 }
        public RoundExecutionSequencer(
            List <IRoundExecuter> roundExecuters, IDiplomacyCore diplomacyCore, CoreSignals coreSignals
            )
        {
            RoundExecuters = roundExecuters;
            DiplomacyCore  = diplomacyCore;

            coreSignals.StartingRound.Subscribe(OnStartingRound);
            coreSignals.EndingRound.Subscribe(OnEndingRound);
        }
Exemple #3
0
 public DiplomacyComposer(
     IDiplomacyCore diplomacyCore, ICivilizationFactory civFactory,
     IWarCanon warCanon, IDiplomaticProposalComposer proposalComposer,
     IOngoingDealComposer ongoingDealComposer
     )
 {
     DiplomacyCore       = diplomacyCore;
     CivFactory          = civFactory;
     WarCanon            = warCanon;
     ProposalComposer    = proposalComposer;
     OngoingDealComposer = ongoingDealComposer;
 }
Exemple #4
0
 public void InjectDependencies(IGameCore gameCore, IDiplomacyCore diplomacyCore)
 {
     GameCore      = gameCore;
     DiplomacyCore = diplomacyCore;
 }