public void FoundParty(string name, string short_name, Ideology ideology) { Party party = new Party(name, short_name, this, ideology); JoinParty(party); if (Location is City city) party.RegisterParty(city); }
public Party(int id, string name, string short_name, Person founder, Ideology ideology) { ID = id; Name = name; ShortName = short_name; if (founder != null) { Founder = founder; Leader = Founder; AddPerson(Leader, 0); } Ideology = ideology; Color = Ideology.Color; Engine.Game.Parties.Add(this, ID); }
public void SetIdeology(int id) { Ideology = Engine.Game.FindIdeology(id); }
public void SetIdeology(Ideology ideology) { Ideology = ideology; }
public Amount(Ideology ideology, double proportion) { Ideology = ideology; Proportion = proportion; }