X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=net.mograsim.logic.model.editor%2Fsrc%2Fnet%2Fmograsim%2Flogic%2Fmodel%2Feditor%2Fhandles%2FPinHandle.java;h=2e4a9dc603ae14ccae4cacc84828ad8314b89eba;hb=8bed58cd47f4e53a0a83e066d38864aa6875502f;hp=365bec56aea11885da78a51e8a02cdb0aaea4fb2;hpb=47ea68ed5c444dd14864412639f6a6fd60ab8a0f;p=Mograsim.git diff --git a/net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/PinHandle.java b/net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/PinHandle.java index 365bec56..2e4a9dc6 100644 --- a/net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/PinHandle.java +++ b/net.mograsim.logic.model.editor/src/net/mograsim/logic/model/editor/handles/PinHandle.java @@ -4,12 +4,14 @@ import net.mograsim.logic.model.model.wires.Pin; public abstract class PinHandle extends Handle { - public PinHandle() + public PinHandle(int priority) { - super(); + super(priority); } public abstract Pin getPin(); + public abstract double getCenterX(); + public abstract double getCenterY(); }