Example #1
0
 public PieceMove(Board board, Location from, Location to, ColoredPiece oldDestinationPiece)
 {
     this.board = board;
     this.from  = from;
     this.to    = to;
     this.oldDestinationPiece = oldDestinationPiece;
 }
Example #2
0
 public void Set(Location location, ColoredPiece cell)
 {
     cells[location.X, location.Y] = cell;
 }