git.ucc.asn.au
/
progcomp2012.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Modified manager program, updated website
[progcomp2012.git]
/
manager
/
game.h
diff --git
a/manager/game.h
b/manager/game.h
index
48926ea
..
1212b89
100644
(file)
--- a/
manager/game.h
+++ b/
manager/game.h
@@
-27,7
+27,7
@@
class Game
static void HandleBrokenPipe(int signal);
static void HandleBrokenPipe(int signal);
-
+ void ReadUserCommand();
const Piece::Colour Turn() const {return turn;}
void ForceTurn(const Piece::Colour & newTurn) {turn = newTurn;}
const Piece::Colour Turn() const {return turn;}
void ForceTurn(const Piece::Colour & newTurn) {turn = newTurn;}
@@
-53,7
+53,8
@@
class Game
private:
FILE * log;
private:
FILE * log;
- Piece::Colour reveal;
+ public:
+ const Piece::Colour reveal;
int turnCount;
static bool gameCreated;
int turnCount;
static bool gameCreated;
UCC
git Repository :: git.ucc.asn.au