Beispiel #1
0
    private void GenPartner(RootPerson root)
    {
        gender   = Generators.PartnerGender(root);
        ageGroup = Generators.PartnerAgeGroup(root);
        age      = Generators.Age(ageGroup);

        skinColor = Generators.PartnerSkinColor(root);
        hairColor = Generators.RootHairColor(skinColor);
        eyeColor  = Generators.RootEyeColor(skinColor);
    }
Beispiel #2
0
    public RootPerson()
    {
        gender    = Generators.RootGender();
        ageGroup  = Generators.RootAgeGroup();
        age       = Generators.Age(ageGroup);
        sexuality = Generators.RootSexuality(gender);
        wealth    = Generators.RootWealth(ageGroup);

        if (sexuality == Sexuality.aroAce)
        {
            relationship = Relationship.single;
        }
        else
        {
            relationship = Generators.RootRelationship(wealth, ageGroup);
        }

        skinColor = Generators.RootSkinColor();
        hairColor = Generators.RootHairColor(skinColor);
        eyeColor  = Generators.RootEyeColor(skinColor);
    }