コード例 #1
0
        AstrogatorMenu()
            : base()
        {
            model = new AstrogationModel(
                (ITargetable)FlightGlobals.ActiveVessel
                ?? (ITargetable)FlightGlobals.getMainBody());
            loader         = new AstrogationLoadBehaviorette(model, null);
            timeToWait     = new List <DateTimeParts>();
            cursorTransfer = 0;

            loader.TryStartLoad(model.origin, null, null, null);
        }
コード例 #2
0
 /// <summary>
 /// Initialize the plugin
 /// </summary>
 public Astrogator()
     : base()
 {
     model  = new AstrogationModel();
     loader = new AstrogationLoadBehaviorette(model, ResetViewBackground);
 }