public CombatEstimator(
     ICombatInfoLogic combatInfoLogic, ICombatCalculator combatCalculator
     )
 {
     CombatInfoLogic  = combatInfoLogic;
     CombatCalculator = combatCalculator;
 }
Esempio n. 2
0
 public CombatExecuter(
     IMeleeAttackValidityLogic meleeAttackValidityLogic, IRangedAttackValidityLogic rangedAttackValidityLogic,
     IUnitPositionCanon unitPositionCanon, IHexGrid grid, ICombatInfoLogic combatModifierLogic, UnitSignals unitSignals,
     IHexPathfinder hexPathfinder, ICommonCombatExecutionLogic commonCombatExecutionLogic
     )
 {
     MeleeAttackValidityLogic  = meleeAttackValidityLogic;
     RangedAttackValidityLogic = rangedAttackValidityLogic;
     UnitPositionCanon         = unitPositionCanon;
     Grid                       = grid;
     CombatInfoLogic            = combatModifierLogic;
     UnitSignals                = unitSignals;
     HexPathfinder              = hexPathfinder;
     CommonCombatExecutionLogic = commonCombatExecutionLogic;
 }
 public UnitComparativeStrengthEstimator(ICombatInfoLogic combatInfoLogic)
 {
     CombatInfoLogic = combatInfoLogic;
 }