コード例 #1
0
 public static BattleLogic CreateClient(ApplyChangeLogic _manager, ContextLogic _context, ConditionLogic _condition, FormulaController _formula, BattleAccessor _battle, ScorersAccessor _scorers, UnitsAccessor _units, ExplorerAccessor _explorer, SettingsAccessor _settings)
 {
     return(new BattleLogic
     {
         _manager = _manager,
         _context = _context,
         _condition = _condition,
         _formula = _formula,
         _battle = _battle,
         _scorers = _scorers,
         _units = _units,
         _explorer = _explorer,
         _settings = _settings,
     }
            );
 }
コード例 #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 BuffLogic CreateClient(BattleAccessor _accessor, ContextLogic _contextLogic, ApplyChangeLogic _logic)
 {
     return(new BuffLogic
     {
         _accessor = _accessor,
         _contextLogic = _contextLogic,
         _logic = _logic,
     }
            );
 }