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
[PATCH] Remove arguments, patch vixen, add hunter AI
[progcomp2012.git]
/
judge
/
manager
/
controller.h
diff --git
a/judge/manager/controller.h
b/judge/manager/controller.h
index
55c233d
..
069ccd6
100644
(file)
--- 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 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;
const Piece::Colour colour;
+ virtual void FixName(); //Should be called after setup, sets the name of the controller
+
std::string name;
std::string name;
UCC
git Repository :: git.ucc.asn.au