Rev | Line | |
---|
[c9f6a1c] | 1 | #ifndef _GAME_SUMMARY_H
|
---|
| 2 | #define _GAME_SUMMARY_H
|
---|
| 3 |
|
---|
| 4 | #include "Compiler.h"
|
---|
| 5 |
|
---|
| 6 | #include <string>
|
---|
| 7 |
|
---|
| 8 | using namespace std;
|
---|
| 9 |
|
---|
| 10 | class GameSummary {
|
---|
| 11 | private:
|
---|
| 12 | string gameName;
|
---|
| 13 | unsigned int winner;
|
---|
| 14 | unsigned int blueScore;
|
---|
| 15 | unsigned int redScore;
|
---|
| 16 |
|
---|
| 17 | public:
|
---|
| 18 | GameSummary();
|
---|
| 19 | GameSummary(string name, unsigned int winner, unsigned int blueScore, unsigned int redScore);
|
---|
| 20 |
|
---|
| 21 | ~GameSummary();
|
---|
| 22 |
|
---|
| 23 | string getName();
|
---|
| 24 | unsigned int getWinner();
|
---|
| 25 | unsigned int getBlueScore();
|
---|
| 26 | unsigned int getRedScore();
|
---|
| 27 | };
|
---|
| 28 |
|
---|
| 29 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.