//checks if same colour public bool isSameColour(Piece P) { if (P.getColour() == this.colour) return true; else return false; }
public void setPiece(Piece p) { piece = p; }
public void removePiece() { piece = null; }