Пример #1
0
 public boolean isPortConnected(int index) {
   Circuit circ = context.getCircuit();
   Location loc = comp.getEnd(index).getLocation();
   return circ.isConnected(loc, comp);
 }
Пример #2
0
 public Circuit getCircuit() {
   return context.getCircuit();
 }