diff --git a/cicaprojekt/GateDrawer.java b/cicaprojekt/GateDrawer.java index 4857a64..ff05e29 100644 --- a/cicaprojekt/GateDrawer.java +++ b/cicaprojekt/GateDrawer.java @@ -28,4 +28,7 @@ public class GateDrawer extends AbstractDrawer { return gate.getY(); } + public void setGate(Gate gate) { + this.gate = gate; + } } diff --git a/cicaprojekt/ScaleDrawer.java b/cicaprojekt/ScaleDrawer.java index 469bbb8..df728ed 100644 --- a/cicaprojekt/ScaleDrawer.java +++ b/cicaprojekt/ScaleDrawer.java @@ -28,4 +28,7 @@ public class ScaleDrawer extends AbstractDrawer implements Drawer { return scale.getY(); } + public void setScale(Scale scale) { + this.scale = scale; + } }