X-Git-Url: https://git.ucc.asn.au/?p=progcomp2012.git;a=blobdiff_plain;f=judge%2Fmanager%2Fcontroller.h;h=069ccd68a3392be09434f7d32ab9b53816280b67;hp=55c233d3db1bac9d09ce29e01a1d7c4e80580f44;hb=ac335e7c423d067effae82cc80db518f896271b9;hpb=1a03b2543b67f0551e62babec4cd119f1e0e4640 diff --git a/judge/manager/controller.h b/judge/manager/controller.h index 55c233d..069ccd6 100644 --- a/judge/manager/controller.h +++ b/judge/manager/controller.h @@ -28,8 +28,14 @@ class Controller virtual MovementResult QueryMove(std::string & buffer) = 0; virtual bool Valid() const {return true;} + + virtual void Pause() {} // Hack function (AI_Controller ONLY will overwrite with wrapper to Program::Pause) + virtual void Continue() {} // Hack function (AI_Controller '' '' wrapper to Program::Continue) + const Piece::Colour colour; + virtual void FixName(); //Should be called after setup, sets the name of the controller + std::string name;