From 0e5681ef7d709272ee1f573395b0c40a232ee5a6 Mon Sep 17 00:00:00 2001 From: ericnerdo Date: Mon, 25 Apr 2016 23:45:03 +0200 Subject: [PATCH] Gate.getGateConnected() added --- cicaprojekt/Scale.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cicaprojekt/Scale.java b/cicaprojekt/Scale.java index 9c8dacf..07bb6b9 100644 --- a/cicaprojekt/Scale.java +++ b/cicaprojekt/Scale.java @@ -52,4 +52,8 @@ public class Scale extends Field { else gateConnected.setOpen(false); } + + public Gate getGateConnected() { + return gateConnected; + } }