Example #1
0
 public Citizen(IPopulation population, IInsuranceSocialSystem iss)
 {
     State = CitizenState.Premature;
     Age = new Age();
     DeathAge = RollDeathAge();
     Laziness = StatisticHelper.RollLaziness();
     Population = population;
     ISS = iss;
 }
Example #2
0
        public Population(ISimulationManager man, IInsuranceSocialSystem i)
        {
            Citizens = new List<Citizen>();
            LivingCitizens = new List<Citizen>();
            DeadCitizens = new List<Citizen>();

            Manager = man;
            iss = i;

            AgeOfMajority = new Age(18, 0);
            StandardRetirementAge = new Age(65, 0);
            AverageAgeOfDying = new Age(85, 0);
            BornRate = 1;
        }