GEP-Assignment1/Sprites.cpp
vector<Card> Hand::GetCopyOfAllCards() {
	vector<Card> cardcopies;
	for (CardSprite *c : m_vCards) {
		if (c) {
			cardcopies.push_back(Card(*c->GetCard()));
		}
	}
	return cardcopies;
}
/* This method returns a vector contaning a copy of all the cards in the hand.
  There may not be exacty 5 cards returned. */
This method returns a vector contaning a copy of all the cards in the hand.
There may not be exacty 5 cards returned.
This method returns a vector contaning a copy of all the cards in the hand . There may not be exacty 5 cards returned .
vector<Card> Hand::GetCopyOfAllCards() {
	vector<Card> cardcopies;
	for (CardSprite *c : m_vCards) {
		if (c) {
			cardcopies.push_back(Card(*c->GetCard()));
		}
	}
	return cardcopies;
}
vector < Card > Hand :: GetCopyOfAllCards ( ) { vector < Card > cardcopies ; for ( CardSprite * c : m_vCards ) { if ( c ) { cardcopies . push_back ( Card ( * c -> GetCard ( ) ) ) ; } } return cardcopies ; }
This method returns a vector contaning a copy of all the cards in the hand.
This method returns a vector contaning a copy of all the cards in the hand .