C# Class BetterBurnTime.BetterBurnTime

Inheritance: UnityEngine.MonoBehaviour
Datei anzeigen Open project: KSPSnark/BetterBurnTime

Public Methods

Method Description
LateUpdate ( ) : void
Start ( ) : void

Private Methods

Method Description
CalculateMaxBurnTime ( ShipState vessel, BetterBurnTime.Tally propellantsConsumed ) : double

Calculate how long we can burn at full throttle until something important runs out.

GetBurnTime ( double dVremaining, bool &isInsufficientFuel ) : double

Calculate the number of seconds required to burn.

GetThrustInfo ( BetterBurnTime.Tally propellantsConsumed, double &totalThrust ) : void

Get the vessel's acceleration ability, in m/s2

SecondsUntilNode ( ) : double

Gets the time until the next maneuver node, in seconds. NaN if none.

ShouldIgnore ( string propellantName ) : bool
logFuelCheatActivation ( ) : void

Log a message every time the fuel-cheat toggle is switched.

Method Details

LateUpdate() public method

public LateUpdate ( ) : void
return void

Start() public method

public Start ( ) : void
return void