Added image output to manager, added plots to results pages
[progcomp2012.git] / judge / manager / ai_controller.h
index ee053e6..0a4baeb 100644 (file)
@@ -19,7 +19,13 @@ class AI_Controller : public Controller, private Program
                virtual MovementResult QuerySetup(const char * opponentName,std::string setup[]);
                virtual MovementResult QueryMove(std::string & buffer);
 
-               virtual void Message(const char * message) {Program::SendMessage(message);}
+               virtual void Message(const char * message) 
+               {
+                       //fprintf(stderr, "Sending message \"%s\" to AI program...\n", message);
+                       Program::SendMessage(message);
+               }
+               virtual void Pause() {Program::Pause();} //Hack wrapper
+               virtual void Continue() {Program::Continue();} //Hack wrapper
 
                virtual bool Valid() const {return Program::Running();}
 

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