public PieceMove(ChessNode start, ChessNode end) { this.board = start.board; this.start = start.GetCord(); this.end = end.GetCord(); playerColor = start.piece.color; }
public ComplexMove(ChessNode start, ChessNode end, ChessNode secondaryStart, ChessNode secondaryEnd, bool valid) : base(start, end) { this.secondaryEnd = secondaryEnd.GetCord(); this.secondaryStart = secondaryStart.GetCord(); this.valid = true; this.validated = true; }