* Returns the soldier's amount of energy. * @return Energy. */
| 847 | * @return Energy. |
| 848 | */ |
| 849 | int BattleUnit::getEnergy() const |
| 850 | { |
| 851 | return _energy; |
| 852 | } |
| 853 | |
| 854 | /** |
| 855 | * Returns the soldier's amount of health. |
no outgoing calls
no test coverage detected