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