X-Git-Url: https://git.ucc.asn.au/?p=progcomp2012.git;a=blobdiff_plain;f=manager%2Fgame.h;h=1212b891e924d9a4cd741b1fe66a1eb4ddd6f25d;hp=48926ea1fe3857d62a643302c03fa86b3648f323;hb=17a20de4017ccfadef219d830a28ecccfe6f5106;hpb=2120cc40abf9e3fd763c84a1e09b61064bb40be6 diff --git a/manager/game.h b/manager/game.h index 48926ea..1212b89 100644 --- a/manager/game.h +++ b/manager/game.h @@ -27,7 +27,7 @@ class Game static void HandleBrokenPipe(int signal); - + void ReadUserCommand(); const Piece::Colour Turn() const {return turn;} void ForceTurn(const Piece::Colour & newTurn) {turn = newTurn;} @@ -53,7 +53,8 @@ class Game private: FILE * log; - Piece::Colour reveal; + public: + const Piece::Colour reveal; int turnCount; static bool gameCreated;