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=6b2af588898986c750a4121b49631dfc11e941db;hp=365bec56aea11885da78a51e8a02cdb0aaea4fb2;hpb=8b3e82a368d51751f2660e88a1b9fea9dfeb7e02;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(); }