Added optional server config parameter to limit the number of AI players when creating tournaments.

This commit is contained in:
LevelX2 2013-10-07 18:14:27 +02:00
parent f04df1b193
commit 360a62917b
6 changed files with 55 additions and 14 deletions

View file

@ -78,8 +78,9 @@ public class PlayerFactory {
}
public void addPlayerType(String name, Class playerType) {
if (playerType != null)
if (playerType != null) {
this.playerTypes.put(name, playerType);
}
}
}