[Update] int instead of unsigned int
This commit is contained in:
parent
dd777cd440
commit
8c52bcb750
16
game.cpp
16
game.cpp
@ -7,28 +7,28 @@ using namespace std;
|
|||||||
|
|
||||||
class Game {
|
class Game {
|
||||||
private:
|
private:
|
||||||
unsigned int upper;
|
int upper;
|
||||||
unsigned int lower;
|
int lower;
|
||||||
unsigned int count;
|
int count;
|
||||||
unsigned int answer;
|
int answer;
|
||||||
public:
|
public:
|
||||||
Game(void) {
|
Game(void) {
|
||||||
this->reset();
|
this->reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int get_upper() {
|
int get_upper() {
|
||||||
return this->upper;
|
return this->upper;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int get_lower() {
|
int get_lower() {
|
||||||
return this->lower;
|
return this->lower;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int get_count() {
|
int get_count() {
|
||||||
return this->count;
|
return this->count;
|
||||||
}
|
}
|
||||||
|
|
||||||
unsigned int get_answer() {
|
int get_answer() {
|
||||||
return this->answer;
|
return this->answer;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user