Educational Game Platform
cpu.h
1 #ifndef CPU_H
2 #define CPU_H
3 
10 class CPU
11 {
12 public:
13  CPU();
14  int *CPUdataArray;
15  int callCabo(int rounds);
16  int discard(int cardValue);
17  int draw(int cardValue);
18 
19  int *temp1;
20  int *temp2;
21 };
22 
23 //7 and 8 are peek
24 //9 and 10 are spy
25 //11 and 12 are swap
26 #endif // CPU_H
CPU::temp1
int * temp1
Temporary value used between functions.
Definition: cpu.h:19
CPU::CPU
CPU()
Default constructor (not used)
Definition: cpu.cpp:19
CPU
Definition: cpu.h:11
CPU::temp2
int * temp2
Temporary value used between functions.
Definition: cpu.h:20
CPU::discard
int discard(int cardValue)
CPU::discard.
Definition: cpu.cpp:94
CPU::callCabo
int callCabo(int rounds)
CPU::callCabo.
Definition: cpu.cpp:46
CPU::draw
int draw(int cardValue)
CPU::draw.
Definition: cpu.cpp:146