Example #1
0
 public Fraction(string name, AligmentType aligment, ICollection <Planet> planets, ICollection <Superhero> members)
 {
     this.Name             = name;
     this.Aligment         = aligment;
     this.ProtectedPlanets = planets;
     this.Members          = members;
 }
Example #2
0
 public Superhero(string name, string secretIdentity, string cityThatProtects, AligmentType aligment,
                  string story, ICollection <Fraction> fractions, ICollection <Power> powers)
 {
     this.Name           = name;
     this.SecretIdentity = secretIdentity;
     this.Aligment       = aligment;
     this.Story          = story;
     this.Fractions      = fractions;
     this.Powers         = powers;
 }