This commit is contained in:
2018-04-30 16:27:24 +02:00
parent 4dae79a3ca
commit 7bb86009d1
5 changed files with 447 additions and 80 deletions

View File

@@ -154,6 +154,14 @@ public class BasePlate extends DeviceBase {
return pucksPosition[puck.index];
}
public Puck getPuckByName(String name) {
for (Device d : getChildren()) {
if (d.getName().equals(name)){
return (Puck) d;
}
}
return null;
}
Rectangle plotRect = new Rectangle(0, 0, 0, 0);
Rectangle boundingBox;