예제 #1
0
            public PlayerSetup(MockPlayer player, MockComputerPlayer firstOpponent, MockComputerPlayer secondOpponent, MockComputerPlayer thirdOpponent, IPlayerFactory playerPool)
            {
                player.VerifyThatObjectIsNotNull();
                firstOpponent.VerifyThatObjectIsNotNull();
                secondOpponent.VerifyThatObjectIsNotNull();
                thirdOpponent.VerifyThatObjectIsNotNull();
                playerPool.VerifyThatObjectIsNotNull();

                this.Player         = player;
                this.FirstOpponent  = firstOpponent;
                this.SecondOpponent = secondOpponent;
                this.ThirdOpponent  = thirdOpponent;
                this.PlayerPool     = playerPool;
            }