virtual bool HumanController() const {return false;} //Hacky... overrides in human_controller... avoids having to use run time type info
- void Message(const std::string & buffer) {Message(buffer.c_str());}
- virtual void Message(const char * string) = 0;
+ bool Message(const std::string & buffer) {return Message(buffer.c_str());}
+ virtual bool Message(const char * string) = 0;
virtual MovementResult QuerySetup(const char * opponentName, std::string setup[]) = 0;
virtual MovementResult QueryMove(std::string & buffer) = 0;
const Piece::Colour colour;
+ virtual void FixName(); //Should be called after setup, sets the name of the controller
+
std::string name;