public void AgeUp(float ageFactor, PopulationStruct nextGen)
        {
            int marginal = (int)(quantity * ageFactor);

            quantity         -= marginal;
            nextGen.quantity += marginal;

            education.AgeUp(marginal, nextGen.education);

            education.GameUpdate();
        }
Exemple #2
0
 public Education(PopulationStruct _populationStruct)
 {
     populationStruct = _populationStruct;
 }