summaryrefslogtreecommitdiffstats
path: root/opponent.h
blob: 49c2b10d5e205b3e366e10d7c42d2eb754909181 (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
26
27
#ifndef _OPPONENT_H_
#define _OPPONENT_H_

#include "cardpile.h"

class Opponent : virtual public CardPile
{
    private:
        int whatHand[3];

    protected:
        Card *opponentCards[3][5];

    public:
        Opponent(void);
        void dealOpponentCards();
        void printOpponentCards();
        void sortOpponentCards();
        Card **getOpponentsCards(int);
        void setOpponentHand(int, int);
        int getOpponentHand(int);

        int numOfOpponents;
};

#endif