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

Method execute

bwapi/BWScriptEmulator/Wait_FinishAttack.cpp:8–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6IMPLEMENT(Wait_FinishAttack);
7
8bool Wait_FinishAttack::execute(aithread &thread) const
9{
10 // Debug
11 thread.saveDebug(Text::Red, this->getOpcode());
12
13 // Check if AI is attacking
14 // if ( AIIsAttacking )
15 {
16 return thread.noretry();
17 }
18 return thread.retry();
19}

Callers

nothing calls this directly

Calls 4

saveDebugMethod · 0.80
getOpcodeMethod · 0.80
noretryMethod · 0.80
retryMethod · 0.80

Tested by

no test coverage detected