class SinglePlayerEventListener implements IEventListener {
@Override
public void gameUpdate(Event e, Object eventNotice) {
if (e instanceof ViewChangeRequestEvent){
ViewChangeRequestEvent event = (ViewChangeRequestEvent) e;
if (event.getAdressee().equals(ChangeRequest.ALL)){
if (eventNotice.equals(EViewChangeEvent.START_GAME)){
// notify the human player of the gameview change
new ViewChangeEvent(IMainGameView.class).notify(EViewChangeEvent.START_GAME);
}
}