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