Esempio n. 1
0
 public override void StartNewNight(DayNightCycle cycle)
 {
     isNightPhase      = true;
     activeDemons      = new List <GameObject>();
     mindDemons        = cycle.GetNumMindDemons();
     bodyDemons        = cycle.GetNumBodyDemons();
     soulDemons        = cycle.GetNumSoulDemons();
     demonsToSpawn     = mindDemons + bodyDemons + soulDemons;
     timeBetweenSpawns = (cycle.GetNightDuration() - timeToFirstSpawn) / demonsToSpawn;
     timeToNextSpawn   = timeToFirstSpawn;
 }
Esempio n. 2
0
 public override void StartNewNight(DayNightCycle cycle)
 {
     Debug.Log("Night " + cycle.currentDay + ", duration: " + cycle.GetNightDuration() + " seconds.\n" +
               "Mind Demons: " + cycle.GetNumMindDemons() + ", Body Demons: " + cycle.GetNumBodyDemons() + ", Soul Demons: " + cycle.GetNumSoulDemons());
 }
Esempio n. 3
0
 public override void StartNewNight(DayNightCycle cycle)
 {
     print("Night... " + cycle.GetNumMindDemons() + "m, " + cycle.GetNumBodyDemons() + "b, " + cycle.GetNumSoulDemons() + "s");
 }