| 202 | } |
| 203 | |
| 204 | bool BattleUnit::isFatallyWounded() |
| 205 | { |
| 206 | for (auto &e : fatalWounds) |
| 207 | { |
| 208 | if (e.second > 0) |
| 209 | { |
| 210 | return true; |
| 211 | } |
| 212 | } |
| 213 | return false; |
| 214 | } |
| 215 | |
| 216 | void BattleUnit::setPosition(GameState &state, const Vec3<float> &pos, bool goal) |
| 217 | { |
no outgoing calls
no test coverage detected