public void readExternal(ObjectInput paramObjectInput)
    throws IOException, ClassNotFoundException
  {
    this.world = ((World)paramObjectInput.readObject());
    this.currentScene = this.world.getCurrentScene();
    this.ProgramLibrary = ((OrderedTable)paramObjectInput.readObject());
    this.ActiveRobots = ((Vector)paramObjectInput.readObject());
    this.StoredRobots = ((Vector)paramObjectInput.readObject());
    Enumeration localEnumeration = getAllRobots().elements();
    while (localEnumeration.hasMoreElements())
      ((Robot)localEnumeration.nextElement()).setImageRetriever(GameApplet.thisApplet);
    localEnumeration = this.ActiveRobots.elements();
    while (localEnumeration.hasMoreElements())
    {
      Robot localRobot = (Robot)localEnumeration.nextElement();
      localRobot.setEnvironment(getCurrentScene());
    }
    int i = paramObjectInput.readInt();
    if (i != -1)
      this.currentRobot = ((Robot)this.ActiveRobots.elementAt(i));
    this.Username = ((String)paramObjectInput.readObject());
    this.UserRank = ((String)paramObjectInput.readObject());
    this.SecurityLevel = paramObjectInput.readInt();
    this.Polymetals = paramObjectInput.readInt();
    this.EnergyUnits = paramObjectInput.readInt();
    this.Inventory = ((Vector)paramObjectInput.readObject());
    this.RobotPartPatterns = ((Vector)paramObjectInput.readObject());
    this.TemporaryOffset = ((Point)paramObjectInput.readObject());
    this.SpecialProgramParts = ((Vector)paramObjectInput.readObject());
  }