added Method toString in City
This commit is contained in:
		
							parent
							
								
									8cb13ce0a6
								
							
						
					
					
						commit
						8fc77abdd0
					
				| 
						 | 
					@ -5,4 +5,8 @@ public class City extends Settlement {
 | 
				
			||||||
    public City(Config.Faction faction) {
 | 
					    public City(Config.Faction faction) {
 | 
				
			||||||
        super(faction);
 | 
					        super(faction);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					    public String toString() {
 | 
				
			||||||
 | 
					        return super.getFaction().toString().toUpperCase();
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue