Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
51
BattleSquad::BattleSquad(){};
52
53
int BattleSquad::getNumUnits() { return (int)units.size(); }
54
} // namespace OpenApoc
Callers
8
fillSquads
Method · 0.80
insert
Method · 0.80
insertAt
Method · 0.80
enterBattle
Method · 0.80
assignToSquad
Method · 0.80
BattleView
Method · 0.80
createUnitInfo
Method · 0.80
createSquadInfo
Method · 0.80
Calls
1
size
Method · 0.45
Tested by
no test coverage detected