Beispiel #1
0
 // constructor
 public BlackjackDealer(AccessFormControls form)
 {
     id            = 4;
     form_controls = form;
     deck.shuffle();
     current_card = 0;
 }
 // constructor
 public BlackjackDealer(AccessFormControls form)
 {
     id = 4;
     form_controls = form;
     deck.shuffle();
     current_card = 0;
 }
        public BlackjackDealer dealer;// BlackJackDealer controls the game
        
        // contstructor
        public BlackjackGame(AccessFormControls form) {
            // access functions in form class
            form_controls = form;

            // create the dealer
            dealer = new BlackjackDealer(form);

            // create the players
            players = new List<BlackjackPlayer>();

            GameOver = false;
        }
        public BlackjackDealer dealer;         // BlackJackDealer controls the game

        // contstructor
        public BlackjackGame(AccessFormControls form)
        {
            // access functions in form class
            form_controls = form;

            // create the dealer
            dealer = new BlackjackDealer(form);

            // create the players
            players = new List <BlackjackPlayer>();

            GameOver = false;
        }