Example #1
0
 public void UndoMove(Move move)
 {
     MakeMove(new Move(move.GetDestinationPoint(), move.GetSourcePoint()));
     if (move.GetEatenPiece() != null)
     {
         grid[move.GetDestinationPoint().X - 1, move.GetDestinationPoint().Y - 1].SetPiece(move.GetEatenPiece());
     }
 }