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>(); }
public Mongoloid(string name, Person father, Person mother, Gender.Genders gender, DateTime birthDate) : base(name, father, mother, gender, birthDate) { Description = "Mongoloid"; SkinColor = "Yellow"; }
public IRace(string name, Person father, Person mother, Gender.Genders gender, DateTime birthDate) : base(name, father, mother, gender, birthDate) { }
public Negroid(string name, Person father, Person mother, Gender.Genders gender, DateTime birthDate) : base(name, father, mother, gender, birthDate) { Description = "Negroid"; SkinColor = "Black"; }
public Australoid(string name, Person father, Person mother, Gender.Genders gender, DateTime birthDate) : base(name, father, mother, gender, birthDate) { Description = "Australoid"; SkinColor = "Light Brown"; }
public Caucasoid(string name, Person father, Person mother, Gender.Genders gender, DateTime birthDate) : base(name, father, mother, gender, birthDate) { Description = "Caucasoid"; SkinColor = "White boi"; }