public void addCard(Card c) {
		this.cards[this.cardindex] = c;
		this.cardindex++;
		if (c.values().length == 2) {
			this.aces++;
			for (int i = 0; i < this.totalvalues.length; i++) {
				this.totalvalues[i] = this.totalvalues[i] + c.values()[i];
			}
		} else {
			for (int i = 0; i < this.totalvalues.length; i++) {
				this.totalvalues[i] = this.totalvalues[i] + c.values()[0];
			}
		}
		if (this.totalvalues[0] > 21 && this.totalvalues[1] > 21) {
			this.bust = true;
		}
	}