* Picks a craft to intercept the UFO. * @param action Pointer to an action. */
| 108 | * @param action Pointer to an action. |
| 109 | */ |
| 110 | void AlienTerrorState::btnInterceptClick(Action *) |
| 111 | { |
| 112 | _state->timerReset(); |
| 113 | _state->getGlobe()->center(_terror->getLongitude(), _terror->getLatitude()); |
| 114 | _game->pushState(new InterceptState(_game, _state->getGlobe(), 0, _terror)); |
| 115 | } |
| 116 | |
| 117 | /** |
| 118 | * Centers on the UFO and returns to the previous screen. |
nothing calls this directly
no test coverage detected