Beispiel #1
0
 public BuyItemUseCase(
     IMoneyDecreasable moneyDecreasable,
     IItem item,
     IItemRepository itemRepository)
 {
     _moneyDecreasable = moneyDecreasable;
     _item             = item;
     _itemRepository   = itemRepository;
 }
 public LevelUpFarmUseCase(
     IMoneyDecreasable moneyDecreasable,
     IFarmLevelUpdatable farmLevelUpdatable,
     IFarmRepository farmRepository,
     IFarmInfo farmInfo)
 {
     _moneyDecreasable   = moneyDecreasable;
     _farmLevelUpdatable = farmLevelUpdatable;
     _farmRepository     = farmRepository;
     _farmInfo           = farmInfo;
 }