private void TryLaunch()
 {
     if (this.CanLaunchNow)
     {
         ArchotechCountdown.InitiateCountdown(this);
     }
 }
Ejemplo n.º 2
0
 public static void ShipCountdownUpdate()
 {
     if (ArchotechCountdown.timeLeft > 0f)
     {
         ArchotechCountdown.timeLeft -= Time.deltaTime;
         if (ArchotechCountdown.timeLeft <= 0f)
         {
             ArchotechCountdown.CountdownEnded();
         }
     }
 }
Ejemplo n.º 3
0
        public override void Tick()
        {
            base.Tick();

            if (wombProgress != -1)
            {
                this.wombProgress += 1f / (GenDate.TicksPerHour * wombDuration);
                if (this.wombProgress >= 1)
                {
                    ArchotechCountdown.InitiateCountdown(this);
                    wombProgress = -1;
                }
            }
        }
 public static void TickCountDown()
 {
     ArchotechCountdown.ShipCountdownUpdate();
 }