MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / inProgress

Method inProgress

game/state/battle/ai/aidecision.cpp:91–99  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91bool AIAction::inProgress(BattleUnit &u)
92{
93 if (inProgressInternal(u))
94 {
95 executed = true;
96 return true;
97 }
98 return false;
99}
100
101bool AIAction::isFinished(BattleUnit &u) { return !inProgress(u) && executed; }
102

Callers 3

executeAIActionMethod · 0.80
executeAIMovementMethod · 0.80
thinkInternalMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected