|  |  | @ -2,6 +2,7 @@ package engine.AiPlayers; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | import engine.objects.City; |  |  |  | import engine.objects.City; | 
			
		
	
		
		
			
				
					
					|  |  |  | import engine.objects.Race; |  |  |  | import engine.objects.Race; | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  | import org.pmw.tinylog.Logger; | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  | import java.util.ArrayList; |  |  |  | import java.util.ArrayList; | 
			
		
	
		
		
			
				
					
					|  |  |  | import java.util.Arrays; |  |  |  | import java.util.Arrays; | 
			
		
	
	
		
		
			
				
					|  |  | @ -33,10 +34,14 @@ public class AiPlayerManager { | 
			
		
	
		
		
			
				
					
					|  |  |  | 
 |  |  |  | 
 | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static void init(){ |  |  |  |     public static void init(){ | 
			
		
	
		
		
			
				
					
					|  |  |  |         while(AiPlayers.size() < totalPlayers){ |  |  |  |         while(AiPlayers.size() < totalPlayers){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             try { | 
			
		
	
		
		
			
				
					
					|  |  |  |                 AiPlayer aiPlayer = new AiPlayer(); |  |  |  |                 AiPlayer aiPlayer = new AiPlayer(); | 
			
		
	
		
		
			
				
					
					|  |  |  |             if(aiPlayer != null) |  |  |  |                 if (aiPlayer != null) | 
			
				
				
			
		
	
		
		
			
				
					
					|  |  |  |                 if(aiPlayer.emulated != null) |  |  |  |                     if (aiPlayer.emulated != null) | 
			
				
				
			
		
	
		
		
	
		
		
	
		
		
			
				
					
					|  |  |  |                         AiPlayers.add(aiPlayer); |  |  |  |                         AiPlayers.add(aiPlayer); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             }catch(Exception e){ | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |                 Logger.error(e); | 
			
		
	
		
		
			
				
					
					|  |  |  |  |  |  |  |             } | 
			
		
	
		
		
			
				
					
					|  |  |  |         } |  |  |  |         } | 
			
		
	
		
		
			
				
					
					|  |  |  |     } |  |  |  |     } | 
			
		
	
		
		
			
				
					
					|  |  |  |     public static String generateFirstName(){ |  |  |  |     public static String generateFirstName(){ | 
			
		
	
	
		
		
			
				
					|  |  | 
 |