Ejemplo n.º 1
0
 /// <summary>
 /// Adds a new player to the settings.
 /// The number of players has to be between 2 and 4.
 /// </summary>
 /// <param name="name">Name of the player</param>
 /// <param name="civ">Civilization of the player, either "INFO" or "EII".</param>
 public void AddPlayer(string name, string civ)
 {
     players.Add(name, CivilizationFactory.GetCivilizationByName(civ));
 }
Ejemplo n.º 2
0
 public Civilization(CivilizationFactory paramFactory)
 {
     _civilizationFactory = paramFactory;
 }