1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#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(); void printOpponentCards(); void sortOpponentCards(); Card **getOpponentsCards(int); int numOfOpponents; }; #endif