コード例 #1
0
 void Start()
 {
     mucore.init();
     vesselState = new VesselState();
     attitude = new AttitudeController(this);
     stage = new StageController(this);
     attitude.OnStart();
     RenderingManager.AddToPostDrawQueue(3, new Callback(drawGUI));//start the GUI
     helpWindowPos = new Rect(windowPos.x+windowPos.width, windowPos.y, 0, 0);
     stagestats = new StageStats();
     stagestats.editorBody = vessel.mainBody;
     stagestats.OnModuleEnabled();
     stagestats.OnFixedUpdate();
     stagestats.RequestUpdate(this);
     stagestats.OnFixedUpdate();
     CreateButtonIcon();
 }
コード例 #2
0
 void Start()
 {
     Log("Starting");
     try
     {
         mucore.init();
         vesselState = new VesselState();
         attitude = new AttitudeController(this);
         stage = new StageController(this);
         attitude.OnStart();
         stagestats = new StageStats();
         stagestats.editorBody = getVessel.mainBody;
         stagestats.OnModuleEnabled();
         stagestats.OnFixedUpdate();
         stagestats.RequestUpdate(this);
         stagestats.OnFixedUpdate();
         CreateButtonIcon();
         LaunchName = new string(getVessel.vesselName.ToCharArray());
         LaunchBody = getVessel.mainBody;
         launchdb = new LaunchDB(this);
         launchdb.Load();
         mainWindow = new Window.MainWindow(this, 6378070);
         flightMapWindow = new Window.FlightMapWindow(this, 548302);
     }
     catch (Exception ex)
     {
         Log(ex.ToString());
     }
 }
コード例 #3
0
 public StageStats(StageController stage) : base()
 {
     Stage = stage;
 }