Пример #1
0
 /// <summary>
 /// restore the variables that were saved by CNS_Store()
 /// </summary>
 private void CNS_RestorePrevious()
 {
     CNS.atWayDest(NavSettings.TypeOfWayDest.COORDINATES);             // clear destination
     CNS.speedCruise_external = initial_speedCruise_external;
     CNS.speedSlow_external   = initial_speedSlow_external;
     CNS.ignoreAsteroids      = false;
     //CNS.destinationRadius = initial_destinationRadius;
 }
Пример #2
0
 /// <summary>
 /// Sets the speeds, ignore asteroids, clears waypoint
 /// </summary>
 private void CNS_SetHarvest()
 {
     CNS.atWayDest(NavSettings.TypeOfWayDest.COORDINATES);             // clear destination
     CNS.speedCruise_external = 0.5f;
     CNS.speedSlow_external   = 2;
     CNS.ignoreAsteroids      = true;
     //CNS.FlyTheLine = true;
 }