示例#1
0
 public BattleManager(IArmiesRepository armiesRepository,
                      IPlayersRepository playersRepository,
                      IArmiesHelper armiesHelper,
                      ICitiesHelper citiesHelper,
                      IMessagesService messagesService,
                      IViewSwitcher viewSwitcher)
 {
     _playersRepository = playersRepository;
     _armiesRepository  = armiesRepository;
     _armiesHelper      = armiesHelper;
     _citiesHelper      = citiesHelper;
     _messagesService   = messagesService;
     _viewSwitcher      = viewSwitcher;
 }
示例#2
0
 public InitialDataGenerator(
     ILegionConfig legionConfig,
     ILegionInfo legionInfo,
     IDefinitionsRepository definitionsRepository,
     IArmiesRepository armiesRepository,
     IPlayersRepository playersRepository,
     ICitiesRepository citiesRepository,
     ICitiesHelper citiesHelper)
 {
     _legionConfig          = legionConfig;
     _legionInfo            = legionInfo;
     _definitionsRepository = definitionsRepository;
     _armiesRepository      = armiesRepository;
     _playersRepository     = playersRepository;
     _citiesRepository      = citiesRepository;
     _citiesHelper          = citiesHelper;
 }
示例#3
0
 public CitiesController(ICitiesHelper citiesHelper) =>