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

Method execute

bwapi/BWScriptEmulator/Fake_Nuke.cpp:9–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7IMPLEMENT(Fake_Nuke);
8
9bool Fake_Nuke::execute(aithread &thread) const
10{
11 MainController.dwLastNukeTime = Broodwar->elapsedTime() + 1;
12
13 // Save debug info and return
14 thread.saveDebug(Text::Green, this->getOpcode());
15 return true;
16}

Callers

nothing calls this directly

Calls 3

saveDebugMethod · 0.80
getOpcodeMethod · 0.80
elapsedTimeMethod · 0.45

Tested by

no test coverage detected