Esempio n. 1
0
 public override void PostPrintOnto(SectionLayer layer)
 {
     base.PostPrintOnto(layer);
     if (this.connectParent != null)
     {
         PipeNetGraphics.PrintWirePieceConnecting(layer, this.parent, this.connectParent.parent, false);
     }
 }
Esempio n. 2
0
        public override void CompPrintForPowerGrid(SectionLayer layer)
        {
            if (this.TransmitsPowerNow)
            {
                PipeOverlayMats.LinkedOverlayGraphic.Print(layer, this.parent);
            }
            if (this.parent.GetComp <CompPipe>().Props.transmitsPower)
            {
                PipeNetGraphics.PrintOverlayConnectorBaseFor(layer, this.parent);
            }

            /*if (this.connectParent != null)
             * {
             *  PipeNetGraphics.PrintWirePieceConnecting(layer, this.parent, this.connectParent.parent, true);
             * }*/
        }