public override void PostPrintOnto(SectionLayer layer) { base.PostPrintOnto(layer); if (this.connectParent != null) { PowerNetGraphics.PrintWirePieceConnecting(layer, this.parent, this.connectParent.parent, false); } }
public override void CompPrintForPowerGrid(SectionLayer layer) { if (this.TransmitsPowerNow) { PowerOverlayMats.LinkedOverlayGraphic.Print(layer, this.parent); } if (this.parent.def.ConnectToPower) { PowerNetGraphics.PrintOverlayConnectorBaseFor(layer, this.parent); } if (this.connectParent != null) { PowerNetGraphics.PrintWirePieceConnecting(layer, this.parent, this.connectParent.parent, true); } }