Ejemplo n.º 1
0
	void Hand::drawFromDeck(Deck *d){
		if(d->getNumCards()>0){
			Card c = d->drawCard();
			c.flipCard();
			if(c.isSelected() == true) c.toggleSelected();
			//insert(c);
			handList.insert(handList.end(), c);
			numCards++;
			sortHand();
		}
	}