Esempio n. 1
0
        public UserPlayerService(PrintDell _printDell, ReadDell _readDell)
        {
            printDell = _printDell;

            readDell = _readDell;

            Menu();
        }
Esempio n. 2
0
        public GameService(ReadDell _readDell, PrintDell _printDell)
        {
            readDell = _readDell;

            printDell = _printDell;

            CroupierService = new CroupierService();

            UserService = new UserPlayerService(printDell, readDell);

            printDell(Messages.MessAskBots);

            int botNumber = Convert.ToInt32(readDell());

            DeckService = new DeckService(DeckFactor);

            BotService = new BotService(botNumber);

            printDell(Messages.MessMenu);
        }