Esempio n. 1
0
 public CellScorer(
     IYieldEstimator yieldEstimator, IMapScorer mapScorer, ITechCanon techCanon,
     IPossessionRelationship <IHexCell, IResourceNode> nodeLocationCanon
     )
 {
     YieldEstimator    = yieldEstimator;
     MapScorer         = mapScorer;
     TechCanon         = techCanon;
     NodeLocationCanon = nodeLocationCanon;
 }
Esempio n. 2
0
 public HillsBalanceStrategy(
     IYieldEstimator yieldEstimator, IMapScorer mapScorer,
     IPossessionRelationship <IHexCell, IResourceNode> nodeLocationCanon,
     ICellModificationLogic modLogic, ITechCanon techCanon
     )
 {
     YieldEstimator    = yieldEstimator;
     MapScorer         = mapScorer;
     NodeLocationCanon = nodeLocationCanon;
     ModLogic          = modLogic;
     TechCanon         = techCanon;
 }
Esempio n. 3
0
 public LakeBalanceStrategy(
     IHexGrid grid, IYieldEstimator yieldEstimator, IMapScorer mapScorer,
     IPossessionRelationship <IHexCell, IResourceNode> nodePositionCanon,
     ICellModificationLogic modLogic, ITechCanon techCanon
     )
 {
     Grid              = grid;
     YieldEstimator    = yieldEstimator;
     MapScorer         = mapScorer;
     NodePositionCanon = nodePositionCanon;
     ModLogic          = modLogic;
     TechCanon         = techCanon;
 }
 public OasisBalanceStrategy(
     IHexGrid grid, IYieldEstimator yieldEstimator, ITechCanon techCanon,
     IMapScorer mapScorer, ICellModificationLogic modLogic,
     IPossessionRelationship <IHexCell, IResourceNode> nodePositionCanon,
     IWeightedRandomSampler <IHexCell> cellRandomSampler
     )
 {
     Grid              = grid;
     YieldEstimator    = yieldEstimator;
     TechCanon         = techCanon;
     MapScorer         = mapScorer;
     ModLogic          = modLogic;
     NodePositionCanon = nodePositionCanon;
     CellRandomSampler = cellRandomSampler;
 }
Esempio n. 5
0
 public YieldEstimator(
     IInherentCellYieldLogic inherentYieldLogic,
     IPossessionRelationship <IHexCell, IResourceNode> nodeLocationCanon,
     IResourceNodeYieldLogic nodeYieldLogic,
     IImprovementYieldLogic improvementYieldLogic,
     IFreshWaterLogic freshWaterCanon,
     ICellYieldFromBuildingsLogic yieldFromBuildingsLogic,
     ITechCanon techCanon,
     IImprovementValidityLogic improvementValidityLogic,
     IMapScorer mapScorer
     )
 {
     InherentYieldLogic      = inherentYieldLogic;
     NodeLocationCanon       = nodeLocationCanon;
     NodeYieldLogic          = nodeYieldLogic;
     ImprovementYieldLogic   = improvementYieldLogic;
     FreshWaterCanon         = freshWaterCanon;
     YieldFromBuildingsLogic = yieldFromBuildingsLogic;
     TechCanon = techCanon;
     ImprovementValidityLogic = improvementValidityLogic;
     MapScorer = mapScorer;
 }