示例#1
0
 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);
 }
示例#2
0
 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);
 }
示例#3
0
 public void SetIdeology(int id)
 {
     Ideology = Engine.Game.FindIdeology(id);
 }
示例#4
0
 public void SetIdeology(Ideology ideology)
 {
     Ideology = ideology;
 }
示例#5
0
 public Amount(Ideology ideology, double proportion)
 {
     Ideology   = ideology;
     Proportion = proportion;
 }