From 759322c6e187b670ded61cb7db30b72bd2e4a5aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kjist=C3=B3f?= Date: Sat, 14 May 2016 17:48:01 +0200 Subject: [PATCH] added setters to Tiles in Gate&ScaleDrawer classes --- cicaprojekt/GateDrawer.java | 3 +++ cicaprojekt/ScaleDrawer.java | 3 +++ 2 files changed, 6 insertions(+) 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; + } }