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