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

Method beginTurnRoutine

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

Source from the content-addressed store, hash-verified

83}
84
85void AIBlockUnit::beginTurnRoutine(GameState &state, BattleUnit &u)
86{
87 for (auto &ai : aiList)
88 {
89 ai->routine(state, u);
90 }
91}
92
93AIDecision AIBlockUnit::think(GameState &state, BattleUnit &u, bool forceInterrupt)
94{

Callers 2

initBattleMethod · 0.45
beginTurnMethod · 0.45

Calls 1

routineMethod · 0.80

Tested by

no test coverage detected