* Returns whether the soldier is out of combat, dead or unconscious. * A soldier that is out, cannot perform any actions, cannot be selected, but it's still a unit. * @return flag if out or not. */
| 1090 | * @return flag if out or not. |
| 1091 | */ |
| 1092 | bool BattleUnit::isOut() const |
| 1093 | { |
| 1094 | return _status == STATUS_DEAD || _status == STATUS_UNCONSCIOUS; |
| 1095 | } |
| 1096 | |
| 1097 | /** |
| 1098 | * Get the number of time units a certain action takes. |
no outgoing calls
no test coverage detected