* Returns if this UFO took enough damage * to cause it to crash. * @return Crashed status. */
| 390 | * @return Crashed status. |
| 391 | */ |
| 392 | bool Ufo::isDestroyed() const |
| 393 | { |
| 394 | return (_damage >= _rules->getMaxDamage()); |
| 395 | } |
| 396 | |
| 397 | /** |
| 398 | * Calculates the direction for the UFO based |
no test coverage detected