public class WireCrossPoint extends GUIComponent
{
private ReadEnd end;
+ private final int logicWidth;
public WireCrossPoint(ViewModel model, int logicWidth)
{
super(model);
+ this.logicWidth = logicWidth;
setSize(0, 0);
addPin(new Pin(this, logicWidth, 0, 0));
}
this.end = end;
end.addObserver((i, o) -> callComponentLookChangedListeners());
}
+
+ public int getLogicWidth()
+ {
+ return logicWidth;
+ }
}
\ No newline at end of file