From cd5b407fb32ebdf6a1c5ad7db1761e2c59ef016d Mon Sep 17 00:00:00 2001 From: ericnerdo Date: Sat, 7 May 2016 14:51:20 +0200 Subject: [PATCH] Stargate getStargate() added to Wall.java. --- cicaprojekt/Wall.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cicaprojekt/Wall.java b/cicaprojekt/Wall.java index aa35936..cf296e3 100644 --- a/cicaprojekt/Wall.java +++ b/cicaprojekt/Wall.java @@ -36,4 +36,8 @@ public class Wall extends Tile { public void onExit(PlayerBase playerBase) throws IllegalStateException { throw new IllegalStateException("Hiba! Te hogy kerültél a falba?"); } + + public Stargate getStargate() { + return sg; + } }