Exemple #1
0
        public Person()
        {
            this.name      = null;
            this.gender    = new Gender();
            this.sexuality = new Sexuality();

            this.hasMasc = false;
            this.hasFem  = false;
            this.hasEnby = true;
        }
Exemple #2
0
        public Person(String n, Gender g, Sexuality s)
        {
            this.name      = n;
            this.gender    = g;
            this.sexuality = s;

            this.hasMasc = gender.getMale_ness() > 0;
            this.hasFem  = gender.getFemale_ness() > 0;
            this.hasEnby = !(this.hasMasc || this.hasFem);
        }
Exemple #3
0
        static void Main(string[] args)
        {
            PronounSet femSet  = new PronounSet("She", "Her", "Her", "Hers", "Herself");
            PronounSet neutSet = new PronounSet("They", "Them", "Their", "Theirs", "Themself");

            Pronouns pronouns = new Pronouns(femSet, neutSet);

            Console.WriteLine(pronouns);
            pronouns.AddSet(neutSet);
            Console.WriteLine(pronouns);



            Gender enby = new Gender();

            Console.WriteLine(enby);

            Gender woman = new Gender(1f, 0f, "She/Her");

            Console.WriteLine(woman);

            Gender man = new Gender(0f, 1f, "He/Him");

            Console.WriteLine(man);

            Gender demiGirl = new Gender(0.8f, 0f, "She/Her/They/Them");

            Console.WriteLine(demiGirl);

            Sexuality panRomDemSex = new Sexuality(0.8f, 0.9f, 0.8f, 0.5f, 0.8f, 0.9f, 0.8f, 1f);

            Gender    agender = new Gender(0f, 0f, "They/Them");
            Sexuality aroace  = new Sexuality();

            Sexuality gyne = new Sexuality(0f, 1f, 0.7f, 0.8f, 0f, 1f, 0.7f, 0.8f);



            Person lyra = new Person("Lyra", demiGirl, panRomDemSex);
            Person sho  = new Person("Sho", agender, gyne);


            Console.WriteLine(lyra);
            Console.WriteLine(sho);

            Console.WriteLine(lyra.getCompatibility(sho));
            Console.WriteLine(sho.getCompatibility(lyra));
        }