public Simulator( ISectorGenerator sectorGenerator, ISimulationRepository simulationRepository, IEmpireGenerator empireGenerator, IEconomicSimulator economicSimulator, IMilitarySimulator militarySimulator, IDiplomacySimulator diplomacySimulator, IDeltaApplier deltaApplier) { _sectorGenerator = sectorGenerator; _simulationRepository = simulationRepository; _empireGenerator = empireGenerator; _economicSimulator = economicSimulator; _militarySimulator = militarySimulator; _diplomacySimulator = diplomacySimulator; _deltaApplier = deltaApplier; }
public RunEmpire() { _empireRepository.Setup(x => x.GetEmpireBorderViews(It.IsAny <ObjectId>())) .Returns(_borderViews); _diplomacySimulator = new DiplomacySimulator(_diplomacyCalculator.Object, _warRepository.Object, _empireRepository.Object); }