Ejemplo n.º 1
0
 internal void ReleaseHookAnchor()
 {
     if (hookAnchor != null)
     {
         hookAnchor.IsConnected = false;
         hookAnchor.KerbalHook  = null;
     }
     hookAnchor = null;
     Abort();
 }
Ejemplo n.º 2
0
 internal void SetHookAnchor(ModuleKerbalHookAnchor anchor)
 {
     hookAnchor = anchor;
     if (hookAnchor != null)
     {
         hookAnchor.IsConnected = true;
         hookAnchor.KerbalHook  = this;
         _createJointNow();
     }
 }