source: network-game/common/GameSummary.h@ 3e44a59

Last change on this file since 3e44a59 was c9f6a1c, checked in by dportnoy <dmp1488@…>, 11 years ago

New GameSummary class for storing game results

  • Property mode set to 100644
File size: 508 bytes
RevLine 
[c9f6a1c]1#ifndef _GAME_SUMMARY_H
2#define _GAME_SUMMARY_H
3
4#include "Compiler.h"
5
6#include <string>
7
8using namespace std;
9
10class GameSummary {
11private:
12 string gameName;
13 unsigned int winner;
14 unsigned int blueScore;
15 unsigned int redScore;
16
17public:
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.