--------------------------------------------- ALL UNIT COUNT ---------------------------------------------
| 87 | } |
| 88 | //--------------------------------------------- ALL UNIT COUNT --------------------------------------------- |
| 89 | int PlayerImpl::allUnitCount(UnitType unit) const |
| 90 | { |
| 91 | return (unit >= 0 && unit < UnitTypes::Enum::MAX) ? self->allUnitCount[unit] : 0; |
| 92 | } |
| 93 | //--------------------------------------------- VISIBLE UNIT COUNT ----------------------------------------- |
| 94 | int PlayerImpl::visibleUnitCount(UnitType unit) const |
| 95 | { |
no outgoing calls