* Centers on the UFO and returns to the previous screen. * @param action Pointer to an action. */
| 206 | * @param action Pointer to an action. |
| 207 | */ |
| 208 | void UfoDetectedState::btnCentreClick(Action *) |
| 209 | { |
| 210 | _state->timerReset(); |
| 211 | _state->getGlobe()->center(_ufo->getLongitude(), _ufo->getLatitude()); |
| 212 | _game->popState(); |
| 213 | } |
| 214 | |
| 215 | /** |
| 216 | * Returns to the previous screen. |
nothing calls this directly
no test coverage detected