MCPcopy Create free account
hub / github.com/bwapi/bwapi / pauseGame

Method pauseGame

bwapi/BWAPI/Source/BWAPI/GameImpl.cpp:542–549  ·  view source on GitHub ↗

----------------------------------------------- PAUSE GAME -----------------------------------------------

Source from the content-addressed store, hash-verified

540 }
541 //----------------------------------------------- PAUSE GAME -----------------------------------------------
542 void GameImpl::pauseGame()
543 {
544 // Pauses the game
545 this->setLastError();
546 if ( !this->tournamentCheck(Tournament::PauseGame) )
547 return;
548 QUEUE_COMMAND(BW::Orders::PauseGame);
549 }
550 //---------------------------------------------- RESUME GAME -----------------------------------------------
551 void GameImpl::resumeGame()
552 {

Callers 1

processCommandsMethod · 0.45

Calls 2

setLastErrorMethod · 0.95
tournamentCheckMethod · 0.95

Tested by

no test coverage detected