From 9e37f114d0794079ab66cda1d7a71fbe35f2d23a Mon Sep 17 00:00:00 2001 From: ericnerdo Date: Sat, 7 May 2016 15:06:25 +0200 Subject: [PATCH] String getName() added to Stargate.java --- cicaprojekt/Stargate.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cicaprojekt/Stargate.java b/cicaprojekt/Stargate.java index 7c36008..f8e3952 100644 --- a/cicaprojekt/Stargate.java +++ b/cicaprojekt/Stargate.java @@ -62,4 +62,8 @@ public class Stargate { return String.format("%s: %s", name, currentWall); else return String.format("%s: not spawned", name, currentWall); } + + public String getName() { + return name; + } }