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

Method getNumUnits

game/state/battle/battleforces.cpp:53–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

51BattleSquad::BattleSquad(){};
52
53int BattleSquad::getNumUnits() { return (int)units.size(); }
54} // namespace OpenApoc

Callers 8

fillSquadsMethod · 0.80
insertMethod · 0.80
insertAtMethod · 0.80
enterBattleMethod · 0.80
assignToSquadMethod · 0.80
BattleViewMethod · 0.80
createUnitInfoMethod · 0.80
createSquadInfoMethod · 0.80

Calls 1

sizeMethod · 0.45

Tested by

no test coverage detected