String getName() added to Stargate.java

This commit is contained in:
ericnerdo 2016-05-07 15:06:25 +02:00
parent cd5b407fb3
commit 9e37f114d0

View File

@ -62,4 +62,8 @@ public class Stargate {
return String.format("%s: %s", name, currentWall); return String.format("%s: %s", name, currentWall);
else return String.format("%s: not spawned", name, currentWall); else return String.format("%s: not spawned", name, currentWall);
} }
public String getName() {
return name;
}
} }