public Game()
 {
     players                  = new Players();
     currentPlayer            = new CurrentPlayer(players);
     names                    = new PlayerNames(currentPlayer);
     places                   = new Places(currentPlayer, names);
     purses                   = new Purses(currentPlayer, names);
     penaltyBox               = new PenaltyBox(currentPlayer, names);
     categories               = new Categories(places);
     questions                = new QuestionsByCategory(categories);
     isGettingOutOfPenaltyBox = new bool[1];
 }
 public Add(Players players, CurrentPlayer currentPlayer, PlayerNames names, Places places, Purses purses, PenaltyBox penaltyBox, Categories categories, QuestionsByCategory questions, bool[] isGettingOutOfPenaltyBox, String playerName)
     : base(currentPlayer, names, places, purses, penaltyBox, categories, questions, isGettingOutOfPenaltyBox)
 {
     this.players    = players;
     this.playerName = playerName;
 }
Ejemplo n.º 3
0
 public Correct(CurrentPlayer currentPlayer, PlayerNames names, Places places, Purses purses, PenaltyBox penaltyBox, Categories categories, QuestionsByCategory questions, bool[] isGettingOutOfPenaltyBox)
     : base(currentPlayer, names, places, purses, penaltyBox, categories, questions, isGettingOutOfPenaltyBox)
 {
 }
 public GettingOutRoll(CurrentPlayer currentPlayer, PlayerNames names, Places places, Purses purses, PenaltyBox penaltyBox, Categories categories, QuestionsByCategory questions, bool[] isGettingOutOfPenaltyBox, int roll)
     : base(currentPlayer, names, places, purses, penaltyBox, categories, questions, isGettingOutOfPenaltyBox)
 {
     this.roll = roll;
 }