Exemplo n.º 1
0
    public void endDay()
    {
        currentDay++;
        if (Settings.dailyReportToggle.isOn)
        {
            if (currentDay >= Config.numDays)
            {
                Debug.Log("No more days");
                endDayReport.Show();
            }
            else
            {
                dailyReport.Show();
            }
        }
        else
        {
            incrementDay();
        }

        if (currentDay < Config.numDays)
        {
            Debug.Log("Next Day: " + currentDay);
        }
    }
Exemplo n.º 2
0
        private void Button_DailyReport_Click(object sender, RoutedEventArgs e)
        {
            DailyReport daily = new DailyReport();

            daily.Show();
        }