this.quit.setBackground(Color.BLACK);
this.quit.setForeground(Color.GREEN);
this.quit.addMouseListener(new MouseAdapter() {
public void mousePressed(MouseEvent e) {
// sends a messages to all players that we have left
SendMessageMessage chatMsg = new SendMessageMessage();
chatMsg.setClientId(context.getPlayerId());
chatMsg.setMessage("has left the game");
getCore().getNetwork().sendMessage(chatMsg);
getCore().popScreen();
getCore().getNetwork().sendMessage(new ExitGameMessage());
if (!loop.isRunning()) {