Esempio n. 1
0
 public void ShowStats()
 {
     //Check if the player had won when the game ended
     if (m_soulQuota.value <= 0)
     {
         m_text.text = "Congratulatory text congratulating you for your achievenemts. Congratulations! You finished your shift at " + m_clock.GetDigitalTime();
         m_wonGameEvent.Invoke();
     }
     else
     {
         m_text.text = "Unfortunately you still had " + m_soulQuota.value.ToString() + " souls remaining in your daily quota.";
         m_lostGameEvent.Invoke();
     }
 }