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

Method notifyUnderFire

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

Source from the content-addressed store, hash-verified

159}
160
161void AIBlockUnit::notifyUnderFire(Vec3<int> position)
162{
163 for (auto &ai : aiList)
164 {
165 if (!ai->active)
166 {
167 continue;
168 }
169 ai->notifyUnderFire(position);
170 }
171}
172
173void AIBlockUnit::notifyHit(Vec3<int> position)
174{

Callers 1

updateProjectilesMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected