Ejemplo n.º 1
0
 public CharactersLayer(IGuiServices guiServices,
                        ITerrainController terrainController,
                        ILegionConfig legionConfig) : base(guiServices)
 {
     _legionConfig      = legionConfig;
     _terrainController = terrainController;
     _actions           = new CharactersActions();
 }
Ejemplo n.º 2
0
        public MapCityGuiFactory(
            IGuiServices guiServices,
            ILegionConfig legionConfig,
            ITexts texts,
            ICommonMapGuiFactory commonMapGuiFactory,
            ModalLayer modalLayer)
        {
            _guiServices         = guiServices;
            _legionConfig        = legionConfig;
            _texts               = texts;
            _commonMapGuiFactory = commonMapGuiFactory;
            _modalLayer          = modalLayer;

            guiServices.GameLoaded += LoadImages;
        }
Ejemplo n.º 3
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;
 }
Ejemplo n.º 4
0
 public TerrainController(ILegionConfig legionConfig)
 {
     _legionConfig = legionConfig;
 }