writeObject() private method

private writeObject ( KSP writer, object obj ) : void
writer KSP
obj object
return void
Ejemplo n.º 1
0
 /// <summary>
 /// Saves the current space program
 /// </summary>
 public void saveProgram()
 {
     if (spaceProgram != null)
     {
         parser.writeObject(spaceProgram, currentSpaceProgramFile);
     }
 }
Ejemplo n.º 2
0
 public void saveSettings()
 {
     settings.changed = false;
     parser.writeObject(settings, "settings.cfg");
 }