Esempio n. 1
0
 public Pregnant(HumanFemale m)
 {
     mother    = m;
     startDate = GameClock.currentTime;
     isMale    = RandomGenerator.getRandomNumber(0, 1) > 0.5;
     duration  = getRandomPregnantDuration();
 }
Esempio n. 2
0
        public Family(HumanMale h, HumanFemale w)
        {
            husband = h;
            wife    = w;

            husband.family = this;
            wife.family    = this;

            childs    = new List <Human>();
            startDate = GameClock.currentTime;
        }