コード例 #1
0
 public static TriggerLogic CreateClient(BattleAccessor _battle, FormulaLogic _formula)
 {
     return(new TriggerLogic
     {
         _battle = _battle,
         _formula = _formula,
     }
            );
 }
コード例 #2
0
 public static ImpactLogic CreateClient(ScorersAccessor _scorers, PlayerAccessor _player, InventoryAccessor _inventory, ExplorerAccessor _explorer, UnitsAccessor _units, BattleAccessor _battle, SettingsAccessor _settings, AchievementAccessor _achievement, BattleLogic _battleLogic, FormulaLogic _formulaLogic, ConditionController _condition, ApplyChangeLogic _applyChangeLogic, BuffLogic _buff, ScorersLogic _scorersLogic, ContextLogic _contextLogic, ImpactController _impactController, LogicData _data)
 {
     return(new ImpactLogic
     {
         _scorers = _scorers,
         _player = _player,
         _inventory = _inventory,
         _explorer = _explorer,
         _units = _units,
         _battle = _battle,
         _settings = _settings,
         _achievement = _achievement,
         _battleLogic = _battleLogic,
         _formulaLogic = _formulaLogic,
         _condition = _condition,
         _applyChangeLogic = _applyChangeLogic,
         _buff = _buff,
         _scorersLogic = _scorersLogic,
         _contextLogic = _contextLogic,
         _impactController = _impactController,
         _data = _data,
     }
            );
 }
コード例 #3
0
 public static ConditionLogic CreateClient(InventoryAccessor _inventoryAccessor, ScorersAccessor _scorersAccessor, PlayerAccessor _profileAccessor, UnitsAccessor _unitAccessor, BattleAccessor _battleAccessor, ExplorerAccessor _explorerAccessor, SettingsAccessor _settingsAccessor, AchievementAccessor _achievementAccessor, FormulaLogic _formulaLogic, ContextLogic _contextLogic, ScorersLogic _scorerLogic, LogicData _data, ConditionController _controller)
 {
     return(new ConditionLogic
     {
         _inventoryAccessor = _inventoryAccessor,
         _scorersAccessor = _scorersAccessor,
         _profileAccessor = _profileAccessor,
         _unitAccessor = _unitAccessor,
         _battleAccessor = _battleAccessor,
         _explorerAccessor = _explorerAccessor,
         _settingsAccessor = _settingsAccessor,
         _achievementAccessor = _achievementAccessor,
         _formulaLogic = _formulaLogic,
         _contextLogic = _contextLogic,
         _scorerLogic = _scorerLogic,
         _data = _data,
         _controller = _controller,
     }
            );
 }