public static boolean kingCheckedAfterMove(){
		boolean retBool;
		if (retBool = isChecked(userColor, getXOfKing(userColor), getYOfKing(userColor), false)) { // Check if the resulting position leads to a check on the user's king
			if (kingPreviouslyChecked){ // Case when the user's king is checked in the turn before this one
				System.out.println(clearScreen() + "Invalid Move: Your King is still in check.");
			}
			else{ // Case when the user's move brings the user's king into check
				System.out.println(clearScreen() + "Invalid Move: Your King is in check after this move.");
			}
		}
		return retBool;
	}