//private role role; public individual(string name = "") { // look up based on id this.id = string.Format("I{0}", universe.id()); this.name = name; this.name2 = ""; // alias this.sex = sex.UNKNOWN; this.BIRTH = new date(datetype.DEAT, "", ""); this.DEATH = new date(datetype.BIRT, "", ""); this.events = new List <@event>(); this.notes = new List <note>(); this.photos = new List <photo>(); // relatives this.father = null; this.mother = null; this.spouses = new List <individual>(); this.children = new List <individual>(); }
public void death(string _date = "", string place = "", string text = "") { this.DEATH = new date(datetype.DEAT, _date, place, text); }
public void birth(string _date = "", string place = "", string text = "") { this.BIRTH = new date(datetype.BIRT, _date, place, text); }