switch (event.getType()) {
case GameEvent.GAME_PLAYER_CONNECTED:
l.gamePlayerConnected((GamePlayerConnectedEvent) event);
break;
case GameEvent.GAME_PLAYER_DISCONNECTED:
l.gamePlayerDisconnected((GamePlayerDisconnectedEvent) event);
break;
case GameEvent.GAME_PLAYER_CHANGE:
l.gamePlayerChange((GamePlayerChangeEvent) event);
break;
case GameEvent.GAME_PLAYER_CHAT: