Example #1
0
 public MoveEventArgs(Move move)
 {
     this.TheMove = move;
 }
Example #2
0
 /// <summary>
 /// Applies a move quickly using cell index shortcut
 /// </summary>
 /// <param name="cellIndex">The index of the cell to make a move in</param>
 public void QuickMove(int cellIndex)
 {
     Move move = new Move(cellIndex / Rows, cellIndex % Columns, this.CurrentTurn);
     this.Referee.ApplyMove(this, move);
 }