Example #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;
 }
Example #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());
 }
Example #3
0
 public override void StartNewNight(DayNightCycle cycle)
 {
     print("Night... " + cycle.GetNumMindDemons() + "m, " + cycle.GetNumBodyDemons() + "b, " + cycle.GetNumSoulDemons() + "s");
 }