public static Character createRandomCharacter() { /** * We want to setup these values in a very particular sequence. * i.e. What is said in life events depends on age. * i.e. A character's name depends on their gender. * etc. etc. */ Age age = Age.ReturnRandomAge(); Mother mother = Mother.ReturnMother(); Father father = Father.ReturnFather(); Parents parents = Parents.ReturnRandomParentsComment(); Appearance appearance = Appearance.ReturnRandomAppearanceComment(); Race race = Race.ReturnRandomRace(); LifeEvents lifeEvents = LifeEvents.ReturnRandomLifeEventsComment(); Childhood childhood = Childhood.ReturnRandomChildhoodEvent(); Adolescence adolescence = Adolescence.ReturnRandomAdolescenceEvent(); Adulthood adulthood = Adulthood.ReturnRandomAdulthoodEvent(); OldAge elder = OldAge.ReturnRandomElderlyEvent(); Profession profession = Profession.ReturnRandomProfession(); RelationshipStatus relationshipStatus = RelationshipStatus.ReturnRandomRelationshipStatus(); Stats stats = Stats.GenerateRandomStats(); Role role = Role.ReturnRandomRole(); Demeanor demeanor = Demeanor.ReturnRandomDemeanor(); Gender gender = Gender.ReturnRandomGender(); CharacterName characterName = CharacterName.ReturnRandomCharacterName(gender); PlaceOfResidence placeOfResidence = PlaceOfResidence.ReturnRandomPlaceOfResidence(); NullChatMenuComponent nullChatMenuComponent = new NullChatMenuComponent(""); Character randomCharacter; randomCharacter = new Character(characterName, age, parents, mother, father, appearance, race, lifeEvents, childhood, adolescence, adulthood, elder, profession, relationshipStatus, stats, role, demeanor, gender, placeOfResidence, nullChatMenuComponent); return(randomCharacter); }
public static Mother ReturnMother() { Gender gender = new Gender("female"); CharacterName name = CharacterName.ReturnRandomCharacterName(gender); Race race = Race.ReturnRandomRace(); Profession profession = Profession.ReturnRandomProfession(); Demeanor demeanor = Demeanor.ReturnRandomDemeanor(); return(new Mother(name, race, profession, demeanor, gender)); }