private void TryLaunch()
 {
     if (this.CanLaunchNow)
     {
         ArchotechCountdown.InitiateCountdown(this);
     }
 }
예제 #2
0
 public static void ShipCountdownUpdate()
 {
     if (ArchotechCountdown.timeLeft > 0f)
     {
         ArchotechCountdown.timeLeft -= Time.deltaTime;
         if (ArchotechCountdown.timeLeft <= 0f)
         {
             ArchotechCountdown.CountdownEnded();
         }
     }
 }
예제 #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();
 }