Ejemplo n.º 1
0
 public Resident()
 {
     FirstName   = GetRandomFirstName();
     SecondName  = GetRandomSecondName();
     Happiness   = new Happiness(this);
     sess        = Game.CurrentSession;
     _timeOffset = (float)(new System.Random().NextDouble() * 10 - 5);
 }
Ejemplo n.º 2
0
        public Resident(ResidentData resData)
        {
            FirstName  = resData.FirstName;
            SecondName = resData.SecondName;

            Happiness   = new Happiness(this);
            sess        = Game.CurrentSession;
            _timeOffset = (float)(new System.Random().NextDouble() * 10 - 5);
        }