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; + } }