X-Git-Url: https://git.ucc.asn.au/?p=progcomp2012.git;a=blobdiff_plain;f=manager%2Fgame.h;h=48926ea1fe3857d62a643302c03fa86b3648f323;hp=f6d7b6bc92552903ad4d3374d60666c9642e4e91;hb=2120cc40abf9e3fd763c84a1e09b61064bb40be6;hpb=b563784f7e8b559fc100e174331c99fc6a1beda8 diff --git a/manager/game.h b/manager/game.h index f6d7b6b..48926ea 100644 --- a/manager/game.h +++ b/manager/game.h @@ -21,7 +21,7 @@ class Game void Wait(double wait); - bool Setup(const char * redName, const char * blueName); + Piece::Colour Setup(const char * redName, const char * blueName); MovementResult Play(); void PrintEndMessage(const MovementResult & result); @@ -30,6 +30,7 @@ class Game const Piece::Colour Turn() const {return turn;} + void ForceTurn(const Piece::Colour & newTurn) {turn = newTurn;} int TurnCount() const {return turnCount;} static Game * theGame;