public Resident() { FirstName = GetRandomFirstName(); SecondName = GetRandomSecondName(); Happiness = new Happiness(this); sess = Game.CurrentSession; _timeOffset = (float)(new System.Random().NextDouble() * 10 - 5); }
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); }