duncan
Mom and Dad were wrong!
|
#include <bot.h>
Public Member Functions | |
Bot (const std::string &, const std::string &) | |
~Bot () | |
void | message (const std::string &) |
bool | update () |
Create a bot which plays duncan automatically.
see LICENSE
Bot::Bot | ( | const std::string & | name, |
const std::string & | ip | ||
) |
Create a bot with a given name, and connect to a given server.
name | name of bot |
ip | ip of server |
Bot::~Bot | ( | ) |
Disconnect from the server.
void Bot::message | ( | const std::string & | msg | ) |
Handle a message entered at the terminal.
msg | message |
bool Bot::update | ( | ) |
Update the bot.