コード例 #1
0
  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;
  }
コード例 #2
0
 public void removeWire(WirePath p) {
   for (Entity e : p.getEntites()) {
     removeChild(e);
   }
 }