예제 #1
0
 public GameResult(GameState gameState, GameRound round, GamePlayer winningPlayer) : this(gameState, round)
 {
     this.WinningPlayer = winningPlayer ?? throw new ArgumentNullException(nameof(winningPlayer));
 }
예제 #2
0
 public StartRoundResult(RoundState state, GameRound round) : base(state)
 {
     this.Round = round ?? throw new ArgumentNullException(nameof(round));
 }
예제 #3
0
 public GameResult(GameState gameState, GameRound round)
 {
     this.GameState = gameState;
     this.Round     = round;
 }