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

Method setFrameSkip

bwapi/BWAPI/Source/BWAPI/GameImpl.cpp:661–673  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

659 }
660 }
661 void GameImpl::setFrameSkip(int frameSkip)
662 {
663 setLastError(Errors::None);
664 if ( !this->tournamentCheck(Tournament::SetFrameSkip, &frameSkip) )
665 return;
666
667 if ( frameSkip > 0 )
668 {
669 BW::BWDATA::FrameSkip = frameSkip;
670 return;
671 }
672 setLastError(Errors::Invalid_Parameter);
673 }
674 //------------------------------------------ ISSUE COMMAND -------------------------------------------------
675 bool GameImpl::issueCommand(const Unitset& units, UnitCommand command)
676 {

Callers 8

initializeDataMethod · 0.95
processCommandsMethod · 0.45
onStartMethod · 0.45
onStartMethod · 0.45
onStartMethod · 0.45
onStartMethod · 0.45
onStartMethod · 0.45
onStartMethod · 0.45

Calls 1

tournamentCheckMethod · 0.95

Tested by 6

onStartMethod · 0.36
onStartMethod · 0.36
onStartMethod · 0.36
onStartMethod · 0.36
onStartMethod · 0.36
onStartMethod · 0.36