public boolean checkContinuous(Player myHand) {
		boolean continuous = true;
		int i = 0;
		while (continuous = true && i <= 3) {
			int rank1 = myHand.getCard(i).getRank();
			int rank2 = myHand.getCard(i + 1).getRank();
			if ((rank1++) == rank2) {
				continuous = true;
			} else {
				continuous = false;
			}
			// this only works because it runs the loop again, after throwing
			// the A to the end after checking for the king at the end.
			/*
			 * if (myHand.getCard(0).getRank() == 1) { if
			 * (myHand.getCard(4).getRank() == 13) { continuous = true; } }
			 */
			i++;
		}

		//checks specifically for a royal flush
		if (!continuous) {
			i = 0;
			int j = myHand.getCard(0).getRank();
			int k = myHand.getCard(1).getRank();
			int l = myHand.getCard(2).getRank();
			int m = myHand.getCard(3).getRank();
			int n = myHand.getCard(4).getRank();
			if ((j == 1) && (k == 10) && (l == 11) && (m == 12) && (n == 13)) {
				continuous = true;
			}
		}
		return continuous;
	}