Esempio n. 1
0
 public BeforeMoveEventArgs(Player player, IEnumerable <Move> validMoves, Move bestMove, BoardState state)
 {
     Player     = player;
     ValidMoves = validMoves;
     BestMove   = bestMove;
     BoardState = state;
 }
Esempio n. 2
0
 public GameEndsEventArgs(Player winningPlayer, ReasonsForWinning reasonWon, BoardState state)
 {
     Winner          = winningPlayer;
     ReasonPlayerWon = reasonWon;
     BoardState      = state;
 }
Esempio n. 3
0
 public MoveEventArgs(Player player, Move move, BoardState state)
 {
     Player     = player;
     Move       = move;
     BoardState = state;
 }