git.ucc.asn.au
/
progcomp2012.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
pause AI in opponent's turn (Temporary)
[progcomp2012.git]
/
judge
/
manager
/
controller.h
diff --git
a/judge/manager/controller.h
b/judge/manager/controller.h
index
55c233d
..
5aa6364
100644
(file)
--- a/
judge/manager/controller.h
+++ b/
judge/manager/controller.h
@@
-28,6
+28,10
@@
class Controller
virtual MovementResult QueryMove(std::string & buffer) = 0;
virtual bool Valid() const {return true;}
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;
std::string name;
const Piece::Colour colour;
std::string name;
UCC
git Repository :: git.ucc.asn.au