Ejemplo n.º 1
0
 public StrongholdEngageGateAttackPassiveAction(IBattleFormulas battleFormula,
                                                IGameObjectLocator gameObjectLocator,
                                                StrongholdBattleProcedure strongholdBattleProcedure,
                                                IDbManager dbManager,
                                                IStaminaMonitorFactory staminaMonitorFactory)
 {
     this.battleFormula             = battleFormula;
     this.gameObjectLocator         = gameObjectLocator;
     this.strongholdBattleProcedure = strongholdBattleProcedure;
     this.dbManager             = dbManager;
     this.staminaMonitorFactory = staminaMonitorFactory;
 }
Ejemplo n.º 2
0
 public BarbarianTribeEngageAttackPassiveAction(IBattleFormulas battleFormula,
                                                IGameObjectLocator gameObjectLocator,
                                                BarbarianTribeBattleProcedure barbarianTribeBattleProcedure,
                                                Formula formula,
                                                IDbManager dbManager,
                                                IStaminaMonitorFactory staminaMonitorFactory)
 {
     this.battleFormula                 = battleFormula;
     this.gameObjectLocator             = gameObjectLocator;
     this.barbarianTribeBattleProcedure = barbarianTribeBattleProcedure;
     this.formula               = formula;
     this.dbManager             = dbManager;
     this.staminaMonitorFactory = staminaMonitorFactory;
 }
Ejemplo n.º 3
0
 public StrongholdEngageGateAttackPassiveAction(uint cityId,
                                                uint troopObjectId,
                                                uint targetStrongholdId,
                                                IBattleFormulas battleFormula,
                                                IGameObjectLocator gameObjectLocator,
                                                StrongholdBattleProcedure strongholdBattleProcedure,
                                                IDbManager dbManager,
                                                IStaminaMonitorFactory staminaMonitorFactory)
     : this(battleFormula, gameObjectLocator, strongholdBattleProcedure, dbManager, staminaMonitorFactory)
 {
     this.cityId             = cityId;
     this.troopObjectId      = troopObjectId;
     this.targetStrongholdId = targetStrongholdId;
 }
Ejemplo n.º 4
0
 public BarbarianTribeEngageAttackPassiveAction(uint cityId,
                                                uint troopObjectId,
                                                uint targetObjectId,
                                                IBattleFormulas battleFormula,
                                                IGameObjectLocator gameObjectLocator,
                                                BarbarianTribeBattleProcedure barbarianTribeBattleProcedure,
                                                Formula formula,
                                                IDbManager dbManager,
                                                IStaminaMonitorFactory staminaMonitorFactory)
     : this(battleFormula, gameObjectLocator, barbarianTribeBattleProcedure, formula, dbManager, staminaMonitorFactory)
 {
     this.cityId         = cityId;
     this.troopObjectId  = troopObjectId;
     this.targetObjectId = targetObjectId;
 }
Ejemplo n.º 5
0
 public CityEngageAttackPassiveAction(uint cityId,
                                      uint troopObjectId,
                                      uint targetCityId,
                                      IBattleFormulas battleFormula,
                                      IGameObjectLocator gameObjectLocator,
                                      CityBattleProcedure cityBattleProcedure,
                                      IStructureCsvFactory structureCsvFactory,
                                      IDbManager dbManager,
                                      IStaminaMonitorFactory staminaMonitorFactory)
     : this(battleFormula, gameObjectLocator, cityBattleProcedure, structureCsvFactory, dbManager, staminaMonitorFactory)
 {
     this.cityId        = cityId;
     this.troopObjectId = troopObjectId;
     this.targetCityId  = targetCityId;
 }
Ejemplo n.º 6
0
        public CityEngageAttackPassiveAction(IBattleFormulas battleFormula,
                                             IGameObjectLocator gameObjectLocator,
                                             CityBattleProcedure cityBattleProcedure,
                                             IStructureCsvFactory structureCsvFactory,
                                             IDbManager dbManager,
                                             IStaminaMonitorFactory staminaMonitorFactory)
        {
            this.battleFormula         = battleFormula;
            this.gameObjectLocator     = gameObjectLocator;
            this.cityBattleProcedure   = cityBattleProcedure;
            this.structureCsvFactory   = structureCsvFactory;
            this.dbManager             = dbManager;
            this.staminaMonitorFactory = staminaMonitorFactory;

            bonus = new Resource();
        }