behavior.h contains the prototype of the Think function as outline below:
behavior.h
/** called for every message received from the server; should return an action string */ virtual std::string Think(const std::string& message) = 0;