예제 #1
0
 public SlotsCommand(UsersConnector usersConnector, BetSizeParser betSizeParser,
                     GameHistoryConnector gameHistoryConnector, MessagesHelper messagesHelper)
 {
     _usersConnector       = usersConnector;
     _betSizeParser        = betSizeParser;
     _gameHistoryConnector = gameHistoryConnector;
     _messagesHelper       = messagesHelper;
 }
 public CoinflipCommandLogic(UsersConnector usersConnector, BetSizeParser betSizeParser,
                             GameHistoryConnector gameHistoryConnector, MessagesHelper messagesHelper)
 {
     _usersConnector       = usersConnector;
     _betSizeParser        = betSizeParser;
     _gameHistoryConnector = gameHistoryConnector;
     _messagesHelper       = messagesHelper;
 }
예제 #3
0
 private RouletteCommand GetRouletteCommandLogic(UsersConnector usersConnector,
                                                 GameHistoryConnector gameHistoryConnector)
 {
     return(new RouletteCommand(usersConnector, new BetSizeParser(), Helpers.GetMessages(),
                                gameHistoryConnector));
 }
예제 #4
0
 private CoinflipCommand GetCoinflipCommandLogic(UsersConnector usersConnector,
                                                 GameHistoryConnector gameHistoryConnector)
 {
     return(new CoinflipCommand(usersConnector, new BetSizeParser(), gameHistoryConnector,
                                Helpers.GetMessages()));
 }
예제 #5
0
 private GameHistoryCommand GetGameHistoryCommandLogic(GameHistoryConnector gameHistoryConnector)
 {
     return(new GameHistoryCommand(gameHistoryConnector, Helpers.GetMessages()));
 }
예제 #6
0
 public GameHistoryCommand(GameHistoryConnector gameHistoryConnector, MessagesHelper messagesHelper)
 {
     _gameHistoryConnector = gameHistoryConnector;
     _messagesHelper       = messagesHelper;
 }