Exemple #1
0
 public Game(
     AppSettings settings,
     IGameService gameService,
     IPlayerService playerService,
     IItemService itemService,
     IPlayerItemService playerItemService)
 {
     _settings          = settings;
     _gameService       = gameService;
     _playerService     = playerService;
     _itemService       = itemService;
     _playerItemService = playerItemService;
 }
 public GameService(
     AppSettings appSettings,
     ActionButtonGameDbContext database,
     IPlayerService playerService,
     IPositiveGameEventService positiveGameEventService,
     INegativeGameEventService negativeGameEventService,
     IItemService itemService,
     IPlayerItemService playerItemService)
 {
     _appSettings              = appSettings;
     _database                 = database;
     _playerService            = playerService;
     _positiveGameEventService = positiveGameEventService;
     _negativeGameEventService = negativeGameEventService;
     _itemService              = itemService;
     _playerItemService        = playerItemService;
 }
Exemple #3
0
 public ItemController(IItemService itemService, IPlayerItemService playerItemService)
 {
     _itemService       = itemService;
     _playerItemService = playerItemService;
 }