Exemple #1
0
    private void CheckGameOver()
    {
        if (FamilyManager.FamilyMembers[0].gone)
        {
            DiedEnding.StartFadein();
            return;
        }

        if (TimeManager.Date >= GameDataManager.MaxWeek)
        {
            if (CheckList.Instance.IsCheckListFinished())
            {
                GoodEnding.StartFadein();
            }
            else
            {
                BadEnding.StartFadein();
            }
        }
    }