X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.core%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fcore%2Fcomponents%2Fgates%2FNotGate.java;h=14fe85d61bdd4af8601eabe324835d3ca11d7103;hb=f14ea37d69488dd51518a36413af7176916b8bd7;hp=b1cfefee2a4434092f4ef3576becac0add039ead;hpb=07faf07e3acb8b2afdc2bf65a46bc868faaed0f8;p=Mograsim.git diff --git a/net.mograsim.logic.core/src/net/mograsim/logic/core/components/gates/NotGate.java b/net.mograsim.logic.core/src/net/mograsim/logic/core/components/gates/NotGate.java index b1cfefee..14fe85d6 100644 --- a/net.mograsim.logic.core/src/net/mograsim/logic/core/components/gates/NotGate.java +++ b/net.mograsim.logic.core/src/net/mograsim/logic/core/components/gates/NotGate.java @@ -16,7 +16,7 @@ public class NotGate extends BasicComponent { super(timeline, processTime); this.in = in; - in.addObserver(this); + in.registerObserver(this); this.out = out; }