*
* @author Daniel Kirschten
*/
-public class WireCrossPoint extends GUIComponent implements ConnectionPoint
+public class WireCrossPoint extends GUIComponent
{
private static final int CIRCLE_RADIUS = 1;
private static final int CIRCLE_DIAM = CIRCLE_RADIUS * 2;
// pins
- @Override
public Pin getPin()
{
return pin;
static
{
- IndirectGUIComponentCreator.setComponentProvider(WireCrossPoint.class.getCanonicalName(),
+ IndirectGUIComponentCreator.setComponentSupplier(WireCrossPoint.class.getCanonicalName(),
(m, p) -> new WireCrossPoint(m, p.getAsInt()));
}
}
\ No newline at end of file