internal Civilization(int id, string name = null, PlayerColor color = null, Leader leader = null, Expansion.Expansion requirement = null) { Id = id; Color = color; Requirement = requirement; Leader = leader; SaveName = new SaveString(Prefix, name, true); }
public Leader ReadLeader() { var str = this.ReadSaveString(1); var leader = Leader.All.SingleOrDefault(c => c.SaveName == str); if (leader == null) leader = new Leader(str.Value); return leader; }