예제 #1
0
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());
}
예제 #2
0
void ExampleAIModule::onReceiveText(BWAPI::Player player, std::string text)
{
  // Parse the received text
  Broodwar << player->getName() << " said \"" << text << "\"" << std::endl;
}
예제 #3
0
파일: SwarmCAT.cpp 프로젝트: 4rChon/ACT-AI
void SwarmCAT::onPlayerLeft(BWAPI::Player player)
{
	Broodwar->sendText("Goodbye %s!", player->getName().c_str());
}
예제 #4
0
파일: SwarmCAT.cpp 프로젝트: 4rChon/ACT-AI
void SwarmCAT::onReceiveText(BWAPI::Player player, std::string text)
{
	Broodwar << player->getName() << " said \"" << text << "\"" << std::endl;
}
예제 #5
0
void OpprimoBot::onReceiveText(BWAPI::Player player, std::string text)
{
    Broodwar << player->getName() << " said '" << text << "'" << endl;
}
예제 #6
0
void TurkAnalyzer::onReceiveText(BWAPI::Player player, std::string text)
{
	// Parse the received text
	Broodwar << player->getName() << " said \"" << text << "\"" << std::endl;
}