コード例 #1
0
 public void DeleteNet(AutomationNet net)
 {
     this.allNets.Remove(net);
     this.grid.Notify_NetDeleted(net);
 }
コード例 #2
0
ファイル: AutomationNetGrid.cs プロジェクト: zymex22/rw_mods
 public void Notify_NetDeleted(AutomationNet net)
 {
     net.nodes.SelectMany(n => GenAdj.OccupiedRect(n.parent).Cells).ForEach(c => netGrid[this.map.cellIndices.CellToIndex(c)] = null);
 }
コード例 #3
0
 public void RegisterNet(AutomationNet net)
 {
     this.allNets.Add(net);
     net.manager = this;
     this.grid.Notify_NetCreated(net);
 }