Example #1
0
    public void AgeMonth(int monthsToAge)
    {
        if (Player == null || Mother == null || Father == null || Player.IsDead)
        {
            return;
        }

        int i = 0;

        while (monthsToAge > i)
        {
            Player.ProcessAging();

            if (Spouse != null)
            {
                Spouse.ProcessAging();
            }

            Mother.ProcessAging();

            Father.ProcessAging();

            i++;
        }

        PostToOutput();
    }