* Returns the unit's promotion status and resets it. * @return True if recently promoted, False otherwise. */
| 394 | * @return True if recently promoted, False otherwise. |
| 395 | */ |
| 396 | bool Soldier::isPromoted() |
| 397 | { |
| 398 | bool promoted = _recentlyPromoted; |
| 399 | _recentlyPromoted = false; |
| 400 | return promoted; |
| 401 | } |
| 402 | |
| 403 | /** |
| 404 | * Returns the unit's current armor. |