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=148a58630b38b30d4d24a21e3f55c357f5b4d0bc;hp=365bec56aea11885da78a51e8a02cdb0aaea4fb2;hpb=a393b0a2a9899707af54c9ee77a01f28ac967bd1;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(); }