Exemplo n.º 1
0
 public BarbarianEncampmentSpawner(
     IEncampmentFactory encampmentFactory, IHexGrid grid, IWeightedRandomSampler <IHexCell> cellSampler,
     IBarbarianSpawningTools spawningTools, IBarbarianUnitSpawner unitSpawner
     )
 {
     EncampmentFactory = encampmentFactory;
     Grid          = grid;
     CellSampler   = cellSampler;
     SpawningTools = spawningTools;
     UnitSpawner   = unitSpawner;
 }
Exemplo n.º 2
0
 public BarbarianUnitSpawner(
     ICivilizationFactory civFactory, IBarbarianConfig barbarianConfig,
     IUnitFactory unitFactory, IRandomizer randomizer,
     IBarbarianSpawningTools spawningTools,
     IBarbarianAvailableUnitsLogic availableUnitsLogic
     )
 {
     CivFactory          = civFactory;
     BarbarianConfig     = barbarianConfig;
     UnitFactory         = unitFactory;
     Randomizer          = randomizer;
     SpawningTools       = spawningTools;
     AvailableUnitsLogic = availableUnitsLogic;
 }
Exemplo n.º 3
0
 public BarbarianTurnExecuter(
     IEncampmentFactory encampmentFactory, ICivilizationFactory civFactory,
     IBarbarianSpawningTools spawningTools, IRandomizer randomizer,
     IBarbarianConfig barbarianConfig, IBarbarianEncampmentSpawner encampmentSpawner,
     IBarbarianUnitSpawner unitSpawner
     )
 {
     EncampmentFactory = encampmentFactory;
     CivFactory        = civFactory;
     SpawningTools     = spawningTools;
     Randomizer        = randomizer;
     BarbarianConfig   = barbarianConfig;
     EncampmentSpawner = encampmentSpawner;
     UnitSpawner       = unitSpawner;
 }