summaryrefslogtreecommitdiffstats
path: root/opponent.h
blob: 5376ecff452dc9ebe2fe5403ae0acdb9bde69347 (plain)
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(int);
        void printOpponentCards(int);
        void sortOpponentCards(int);
        Card **getOpponentsCards(int);

        int numOfOpponents;
};

#endif