[FINAL RESULTS]
[progcomp2012.git] / manager / game.h
diff --git a/manager/game.h b/manager/game.h
deleted file mode 100644 (file)
index 9a02044..0000000
+++ /dev/null
@@ -1,57 +0,0 @@
-#ifndef MAIN_H
-#define MAIN_H
-
-#include "stratego.h"
-#include "ai_controller.h"
-#include "human_controller.h"
-
-
-
-/**
- * Class to manage the game
- */
-class Game
-{
-       public:
-               Game(const char * redPath, const char * bluePath, const bool enableGraphics, double newStallTime = 1.0, const bool allowIllegal=false, FILE * newLog = NULL, const Piece::Colour & newRevealed = Piece::BOTH);
-               virtual ~Game();
-
-               
-
-               void Wait(double wait); 
-
-               bool Setup(const char * redName, const char * blueName);
-               MovementResult Play();
-               void PrintEndMessage(const MovementResult & result);
-               
-
-               static void HandleBrokenPipe(int signal);
-               
-               
-               const Piece::Colour Turn() const {return turn;}
-               int TurnCount() const {return turnCount;}
-
-               static Game * theGame;
-       private:
-               int logMessage(const char * format, ...);
-               Controller * red;
-               Controller * blue;
-               Piece::Colour turn;
-               
-       public:
-               Board theBoard;
-       private:
-               const bool graphicsEnabled;
-               double stallTime;
-       public:
-               const bool allowIllegalMoves;
-
-       private:
-               FILE * log;
-               Piece::Colour reveal;
-               int turnCount;
-               
-};
-
-
-#endif //MAIN_H

UCC git Repository :: git.ucc.asn.au