public void update() { if (has_a_launcher) { launch_clock += Time.deltaTime; if (launch_clock > 2f) { launch_clock -= 2f; launch(); } } if (redstar.exponential_decay(1 / Config.red_average_life)) { GameDad.red_star_evaporate(ix); return; } }
public void update() { if (has_a_launcher) { launch_clock += Time.deltaTime; if (launch_clock > 2f) { launch_clock -= 2f; launch(); } } if (redstar.exponential_decay(1 / Config.red_average_life)) { GameDad.red_star_evaporate(ix); return; } }