示例#1
0
 public static void WriteAll() // called when settings window closes
 {
     if (Find.CurrentMap != null)
     {
         ActiveCircuitsBase.UpdateAllNets(Find.CurrentMap);
     }
 }
示例#2
0
        public bool ShouldPrint(CompPower comp)
        {
            Color color = ActiveCircuitsBase.GetNetColor(comp);

            return(color == ActiveCircuitsSettings.noPower || color == ActiveCircuitsSettings.nothingConnected || color == ActiveCircuitsSettings.justConduits);
        }
 public override void MapGenerated()
 {
     base.MapGenerated();
     ActiveCircuitsBase.UpdateAllNets(thisMap);
 }