public void addShapesTo(List<SGObject> nextFrame) {
		nextFrame.addAll(background);
		if (cards.size() == 0) {
			return;
		}
		int xOff = 0;
		if (cards.size() != 1) {
			xOff = Math.min((width-CARD_WIDTH-2*MED_GAP)/(cards.size()-1), CARD_WIDTH+MED_GAP);
		}
		int handWidth = (cards.size()-1)*xOff+CARD_WIDTH;
		int x = this.x+this.width/2-handWidth/2;
		int y = this.y+this.height/2-CARD_HEIGHT/2;
		for (Card card : cards) {
			if (card == confirm) {
				card.addShapesTo(nextFrame, x, y-SELECT_HEIGHT);
			} else {
				card.addShapesTo(nextFrame, x, y);
			}
			x += xOff;
		}
		if (confirm != null) {
			submit.getBackground().setX(confirm.getX());
			submit.getBackground().setY(confirm.getY()+CARD_HEIGHT);
			submit.addShapesTo(nextFrame);
		}
	}