pl/mbogusz3/invaders/controller/eventHandlers/OnExitEvent.java
/**
	 * Handle "exitGame" event by calling model's {@link InvadersModel#exit()} method.
	 * @param payload payload of event to handle.
	 * @throws InvadersExitException exit exception for notifying controller.
	 */
Handle "exitGame" event by calling model's  InvadersModel#exit() method.
@param payload payload of event to handle.
@throws InvadersExitException exit exception for notifying controller.
Handle " exitGame " event by calling model ' s InvadersModel#exit () method . @param payload payload of event to handle . @throws InvadersExitException exit exception for notifying controller .
public void execute(HashMap<String, String> payload) throws InvadersExitException {
		synchronized (model) {
			model.exit();
		}
		throw new InvadersExitException();
	}
public void execute ( HashMap < String , String > payload ) throws InvadersExitException { synchronized ( model ) { model . exit ( ) ; } throw new InvadersExitException ( ) ; }
Handle "exitGame" event by calling model's {@link InvadersModel#exit()} method.
Handle " exitGame " event by calling model ' s { @link InvadersModel#exit () } method .