1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
#ifndef _OPPONENT_H_ #define _OPPONENT_H_ #include "cardpile.h" class Opponent : virtual public CardPile { private: int whatHand; protected: Card *opponentCards[3][5]; public: Opponent(void); void dealOpponentCards(int); void printOpponentCards(int); void sortOpponentCards(int); }; #endif