private void OnBurnClick() { if (!Double.IsNaN(DeltaV)) { mFlightComputer.Enqueue(BurnCommand.WithDeltaV(mThrottle, DeltaV)); } else { mFlightComputer.Enqueue(BurnCommand.WithDuration(mThrottle, Duration)); } }
private void OnBurnClick() { mFlightComputer.Enqueue(BurnCommand.WithDuration(mThrottle, Duration)); }