void ExampleAIModule::onPlayerLeft(BWAPI::Player player) { // Interact verbally with the other players in the game by // announcing that the other player has left. Broodwar->sendText("Goodbye %s!", player->getName().c_str()); }
void ExampleAIModule::onReceiveText(BWAPI::Player player, std::string text) { // Parse the received text Broodwar << player->getName() << " said \"" << text << "\"" << std::endl; }
void SwarmCAT::onPlayerLeft(BWAPI::Player player) { Broodwar->sendText("Goodbye %s!", player->getName().c_str()); }
void SwarmCAT::onReceiveText(BWAPI::Player player, std::string text) { Broodwar << player->getName() << " said \"" << text << "\"" << std::endl; }
void OpprimoBot::onReceiveText(BWAPI::Player player, std::string text) { Broodwar << player->getName() << " said '" << text << "'" << endl; }
void TurkAnalyzer::onReceiveText(BWAPI::Player player, std::string text) { // Parse the received text Broodwar << player->getName() << " said \"" << text << "\"" << std::endl; }