Example #1
0
 public HangmanGame(ICurrencyGenerator currencyGenerator, IAutomatedActionSystem automatedActionSystem,
                    IWordListProvider wordList)
 {
     _currencyGenerator     = currencyGenerator;
     _automatedActionSystem = automatedActionSystem;
     _wordList = wordList;
 }
Example #2
0
 public CurrencyUpdate(int intervalInMinutes, ICurrencyGenerator currencyGenerator, IClock clock)
 {
     _intervalInMinutes = intervalInMinutes;
     _currencyGenerator = currencyGenerator;
     _clock             = clock;
     SetNextRunTime();
 }
Example #3
0
 public QuizGame(IRepository repository, ICurrencyGenerator currencyGenerator,
                 IAutomatedActionSystem automatedActionSystem)
 {
     _repository            = repository;
     _currencyGenerator     = currencyGenerator;
     _automatedActionSystem = automatedActionSystem;
 }
Example #4
0
 public HangmanGame(ICurrencyGenerator currencyGenerator, IAutomatedActionSystem automatedActionSystem,
                    IRepository repository)
 {
     _currencyGenerator     = currencyGenerator;
     _automatedActionSystem = automatedActionSystem;
     _repository            = repository;
 }
Example #5
0
 public HangmanGame(ICurrencyGenerator currencyGenerator, IRepository repository, ISettingsFactory settingsFactory, IHangmanDisplayNotification hangmanDisplayNotification)
 {
     _currencyGenerator          = currencyGenerator;
     _repository                 = repository;
     _hangmanDisplayNotification = hangmanDisplayNotification;
     _hangmanSettings            = settingsFactory.GetSettings <HangmanSettings>();
 }
Example #6
0
 public FollowableSystem(IList <IChatClient> chatClients, IFollowerService followerService,
                         ICurrencyGenerator currencyGenerator)
 {
     _chatClients       = chatClients;
     _followerService   = followerService;
     _currencyGenerator = currencyGenerator;
 }
Example #7
0
 public HangmanGame(ICurrencyGenerator currencyGenerator, IRepository repository, ISettingsFactory settingsFactory, IHangmanDisplayNotification hangmanDisplayNotification)
 {
     _currencyGenerator          = currencyGenerator;
     _repository                 = repository;
     _hangmanDisplayNotification = hangmanDisplayNotification;
     _hangmanSettings            = settingsFactory.GetSettings <HangmanSettings>();
     ALL_LETTERS                 = _hangmanSettings?.AllowedCharacters.ToLowerInvariant();
 }
Example #8
0
 public CurrencyUpdate(ICurrencyGenerator currencyGenerator, ISettingsFactory settingsFactory, IClock clock)
 {
     _currencyGenerator = currencyGenerator;
     _clock             = clock;
     _currencySettings  = settingsFactory.GetSettings <CurrencySettings>();
     IntervalTimeSpan   = TimeSpan.FromMinutes(IntervalInMinutes);
     SetNextRunTime();
 }
Example #9
0
 public RockPaperScissorsGame(ICurrencyGenerator currencyGenerator,
                              IAutomatedActionSystem automatedActionSystem,
                              ISettingsFactory settingsFactory,
                              ILoggerAdapter <RockPaperScissorsGame> logger)
 {
     _currencyGenerator     = currencyGenerator;
     _automatedActionSystem = automatedActionSystem;
     _logger   = logger;
     _settings = settingsFactory.GetSettings <RockPaperScissorsSettings>();
 }
Example #10
0
 public StreamingSystem(IChatClient chatClient, IFollowerService followerService,
                        ICurrencyGenerator currencyGenerator, ISubscriberHandler subscriberHandler,
                        IStreamingInfoService streamingInfoService)
 {
     _chatClient           = chatClient;
     _followerService      = followerService;
     _currencyGenerator    = currencyGenerator;
     _subscriberHandler    = subscriberHandler;
     _streamingInfoService = streamingInfoService;
 }
Example #11
0
 public BonusCommand(IRepository repository, ICurrencyGenerator currencyGenerator)
     : base(repository, UserRole.Mod)
 {
     _currencyGenerator = currencyGenerator;
     HelpText           = "Use the bonus command to give free coins to someone example: !bonus sadukie 50";
 }
 public RockPaperScissorsGame(ICurrencyGenerator currencyGenerator, IAutomatedActionSystem automatedActionSystem, ILoggerAdapter <RockPaperScissorsGame> logger)
 {
     _currencyGenerator     = currencyGenerator;
     _automatedActionSystem = automatedActionSystem;
     _logger = logger;
 }
Example #13
0
 public HeistGame(IAutomatedActionSystem automatedActionSystem, ICurrencyGenerator currencyGenerator)
 {
     _currencyGenerator     = currencyGenerator;
     _automatedActionSystem = automatedActionSystem;
 }
Example #14
0
 public HangmanGame(ICurrencyGenerator currencyGenerator, IRepository repository, IHangmanDisplayNotification hangmanDisplayNotification)
 {
     _currencyGenerator          = currencyGenerator;
     _repository                 = repository;
     _hangmanDisplayNotification = hangmanDisplayNotification;
 }
 public HangmanGame(ICurrencyGenerator currencyGenerator, IRepository repository, IOverlayNotification overlayNotification)
 {
     _currencyGenerator   = currencyGenerator;
     _repository          = repository;
     _overlayNotification = overlayNotification;
 }
 public RockPaperScissorsGame(ICurrencyGenerator currencyGenerator, IAutomatedActionSystem automatedActionSystem)
 {
     _currencyGenerator     = currencyGenerator;
     _automatedActionSystem = automatedActionSystem;
 }
Example #17
0
 public BonusCommand(IRepository repository, ICurrencyGenerator currencyGenerator)
     : base(repository)
 {
     _currencyGenerator = currencyGenerator;
 }
Example #18
0
 public RouletteCommand(IRepository repository, ICurrencyGenerator currencyGenerator, ISettingsFactory settingsFactory)
     : base(repository)
 {
     _currencyGenerator = currencyGenerator;
     _rouletteSettings  = settingsFactory.GetSettings <RouletteSettings>();
 }