public WirePath addUnfinishedWire(PlacedPin start) { WirePath p = new WirePath( getPinLocation(start).toCoord(), start.p.getAttatched().getColor(), 10, z, wireSegmentY, wireSegmentZ, start.item.i); addDepthInfo(p); for (Entity e : p.getEntites()) { addChild(e); } return p; }
public void removeWire(WirePath p) { for (Entity e : p.getEntites()) { removeChild(e); } }