String getName() added to Stargate.java
This commit is contained in:
		@@ -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;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user