new public char Piece = 'R'; //chars are self explanatory public override bool canMove(int CurrentX, int CurrentY, int NewX, int NewY, bool white) //rook checks if the coordinates allow him to move forwards, backwards, or sideways { Rook rook = new Rook(); if (rook.forwardMove(CurrentX, CurrentY, NewX, NewY, white) || rook.backwardMove(CurrentX, CurrentY, NewX, NewY) || rook.sideMove(CurrentX, CurrentY, NewX, NewY, white)) { return(true); } else { return(false); } }