public ModelClock(LogicModelModifiable model, ModelClockParams params, String name)
{
- super(model, name);
+ super(model, name, false);
this.params = params;
logicObs = (i) -> model.requestRedraw();
this.outputPin = new Pin(model, this, "", 1, PinUsage.OUTPUT, oc.newX(width, height / 2), oc.newY(width, height / 2));
addPin(outputPin);
+
+ init();
}
@Override