Example #1
0
    private void Start()
    {
        healthDisplay.DisplayStar(CalculateHealth());
        wealthDisplay.DisplayStar(CalculateWealth());
        happinessDisplay.DisplayStar(CalculateHappiness());
        goalsDisplay.DisplayStar(CalculateGoals());
        var list = new List <int>
        {
            CalculateHealth(), CalculateWealth(), CalculateHappiness(), CalculateGoals()
        };

        overallDisplay.DisplayStar(CalculateOverall(list));
    }