protected void disconnected(){
  if (!disconnectFlag) {
    disconnectFlag=true;
    if (connected) {
      die();
    }
    if (!host.equals("localhost")) {
      game.processGameEvent(new GamePlayerDisconnectedEvent(this,getLocalPlayer()));
    }
  }
}

protected void disconnected ( ) { if ( ! disconnectFlag ) { disconnectFlag = true ; if ( connected ) { die ( ) ; } if ( ! host . equals ( "localhost" ) ) { game . processGameEvent ( new GamePlayerDisconnectedEvent ( this , getLocalPlayer ( ) ) ) ; } } }
the client has become disconnected from the server
