* Changes the base the craft belongs to. * @param base Pointer to base. */
| 321 | * @param base Pointer to base. |
| 322 | */ |
| 323 | void Craft::setBase(Base *base) |
| 324 | { |
| 325 | _base = base; |
| 326 | _lon = base->getLongitude(); |
| 327 | _lat = base->getLatitude(); |
| 328 | } |
| 329 | |
| 330 | /** |
| 331 | * Changes the base the craft belongs to. (without setting the craft's coordinates) |
no test coverage detected