Пример #1
0
 public FlightJointTracker(AbstractJointTracker parent, bool link = true, bool isTrackingDockingPorts = false) : base(parent.nodes[0], parent.nodes[1])
 {
     log = new Logger("ReCoupler: FlightJointTracker: " + parts[0].name + " and " + parts[1].name + " ");
     this._isTrackingDockingPorts = isTrackingDockingPorts;
     this.CheckParents();
     if (link)
     {
         this.CreateLink();
     }
     if (!isTrackingDockingPorts)
     {
         this.SetNodes();
     }
 }
Пример #2
0
 public EditorJointTracker(AbstractJointTracker parent) : base(parent.nodes[0], parent.nodes[1])
 {
     this.SetNodes();
     ConnectedLivingSpacesCompatibility.RequestAddConnection(parts[0], parts[1]);
     ReCouplerUtils.onReCouplerEditorJointFormed.Fire(new GameEvents.FromToAction <Part, Part>(this.parts[0], this.parts[1]));
 }