Game(PlayerIndex firstDealer, RuleSetting rule) { this.rule = rule; this.firstDealer = firstDealer; scoreOwners = new ScoreOwner[4]; for (int i = 0; i < scoreOwners.Length; ++i) { scoreOwners[i] = new ScoreOwner(this); } }
static public AfterDraw Create(PlayerIndex firstDealer, RuleSetting rule) { var game = new Game(firstDealer, rule); return(game.StartRound()); }