Ai Players
This commit is contained in:
@@ -34,11 +34,11 @@ public class AiPlayerManager {
|
||||
public static void init(){
|
||||
while(AiPlayers.size() < totalPlayers){
|
||||
AiPlayer aiPlayer = new AiPlayer();
|
||||
if(aiPlayer != null && aiPlayer.emulated != null){
|
||||
if(aiPlayer != null)
|
||||
if(aiPlayer.emulated != null)
|
||||
AiPlayers.add(aiPlayer);
|
||||
}
|
||||
}
|
||||
}
|
||||
public static String generateFirstName(){
|
||||
return GENDER_NEUTRAL_NAMES.get(RANDOM.nextInt(GENDER_NEUTRAL_NAMES.size()));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user