//===================================================================// // Constructors // //===================================================================// /// <summary> /// Creates a new <see cref="Person"/> with the specified name, /// description, and set of pronouns. /// </summary> /// <param name="name">the name of the <see cref="Person"/></param> /// <param name="description">a brief description of the <see cref="Person"/></param> /// <param name="pronouns">the set of pronouns to be used for the <see cref="Person"/></param> public Person(string name, string description, PronounSet pronouns, string[] parsedNames = null, bool isSpecific=false, bool isPlural=false, bool isProper=true) : base(name, description, pronouns, parsedNames, isSpecific: isSpecific, isPlural: isPlural, isProper: isProper, canBeTaken: false) { this.clothes = new Clothes(this); this.hands = new Hands(this); this.clothes.AddThing( new PantsWithTwoPockets( pronouns == PronounSet.GetSecondPersonSet() ? "your pants" : !isProper ? "the " : "" + name + "'s pants", "A pair of pants. It has two pockets: a left pocket, and a right pocket.", pronouns == PronounSet.GetSecondPersonSet() ? new string[] { "my pants", "pants" } : new string[] { !isProper ? "the " : "" + name + "'s pants", "pants" }, isProper:true)); }
//===================================================================// // Constructors // //===================================================================// /// <summary> /// Creates a new <see cref="Person"/> with the specified name, /// description, and set of pronouns. /// </summary> /// <param name="name">the name of the <see cref="Person"/></param> /// <param name="description">a brief description of the <see cref="Person"/></param> /// <param name="pronouns">the set of pronouns to be used for the <see cref="Person"/></param> public Person(string name, string description, PronounSet pronouns, bool isSpecific = false, bool isPlural = false, bool isProper = true) : base(name, description, pronouns, isSpecific, isPlural, isProper: true, canBeTaken: false) { this.clothes = new Clothes(this); }