/// <summary> /// Kreates the roster. /// </summary> /// <param name="ra">Ra is a RandomAccumulator which holds the values for creating a roster</param> internal void KreateRoster ( RandomAccumulator ra ) { Roster r = new KerbalMaker ( ).KreateRoster ( ra, roster ); switch ( PreviewRoster ( r ) ) { case ( DialogResult.Yes ): roster.AddRoster ( r ); break; default: break; } UpdateSaveStats ( ); UpdateKerbalStats ( ); }
/// <summary> /// Create a New Kerbal, and Add to the Temporary Roster /// </summary> /// <param name="sa">The Specific Accumulator To Use.</param> internal void KreateKerbal ( SpecificAccumulator sa ) { Kerbal k = new KerbalMaker ( ).KreateKerbal ( sa ); switch ( PreviewKerbal ( k ) ) { case DialogResult.Yes: roster.AddKerbal ( k ); break; default: break; } UpdateKerbalStats ( ); UpdateSaveStats ( ); }