Example #1
0
        public Person(string FirstName, Person Father, Person Mother, Gender.Genders Gender, DateTime Birthdate)
        {
            this.FirstName = FirstName;
            LastName       = Father.LastName;
            this.Father    = Father;
            this.Mother    = Mother;
            this.Gender    = Gender;
            this.Birthdate = Birthdate;
            this.State     = new Healthy();
            RaceFactory raceFactory = new RaceFactory();

            Race     = raceFactory.CreateRace(Father, Mother);
            Children = new List <Person>();
        }
Example #2
0
 public Mongoloid(string name, Person father, Person mother, Gender.Genders gender, DateTime birthDate) : base(name, father, mother, gender, birthDate)
 {
     Description = "Mongoloid";
     SkinColor   = "Yellow";
 }
Example #3
0
 public IRace(string name, Person father, Person mother, Gender.Genders gender, DateTime birthDate) : base(name, father, mother, gender, birthDate)
 {
 }
Example #4
0
 public Negroid(string name, Person father, Person mother, Gender.Genders gender, DateTime birthDate) : base(name, father, mother, gender, birthDate)
 {
     Description = "Negroid";
     SkinColor   = "Black";
 }
Example #5
0
 public Australoid(string name, Person father, Person mother, Gender.Genders gender, DateTime birthDate) : base(name, father, mother, gender, birthDate)
 {
     Description = "Australoid";
     SkinColor   = "Light Brown";
 }
Example #6
0
 public Caucasoid(string name, Person father, Person mother, Gender.Genders gender, DateTime birthDate) : base(name, father, mother, gender, birthDate)
 {
     Description = "Caucasoid";
     SkinColor   = "White boi";
 }