public void DeleteNet(AutomationNet net) { this.allNets.Remove(net); this.grid.Notify_NetDeleted(net); }
public void Notify_NetDeleted(AutomationNet net) { net.nodes.SelectMany(n => GenAdj.OccupiedRect(n.parent).Cells).ForEach(c => netGrid[this.map.cellIndices.CellToIndex(c)] = null); }
public void RegisterNet(AutomationNet net) { this.allNets.Add(net); net.manager = this; this.grid.Notify_NetCreated(net); }