Esempio n. 1
0
 public static bool hasProbeCommand(this Vessel vessel)
 {
     return((vessel.CurrentCommand() & VesselCommand.Probe) == VesselCommand.Probe);
 }
Esempio n. 2
0
 /// <summary>
 /// Checks if this vessel has a properly-crewed manned command pod.
 /// </summary>
 /// <returns><c>true</c>, if this vessel is adequately crewed for control, <c>false</c> otherwise.</returns>
 /// <param name="vessel"></param>
 public static bool hasCrewCommand(this Vessel vessel)
 {
     return((vessel.CurrentCommand() & VesselCommand.Crew) == VesselCommand.Crew);
 }