C# Class NearFuture.VariableISPEngine

Inheritance: PartModule
Afficher le fichier Open project: ChrisAdderley/near-future Class Usage Examples

Méthodes publiques

Méthode Description
ChangeIspAndThrust ( float level ) : void
ChangeIspAndThrustLinked ( float level ) : void
FixedUpdate ( ) : void
GetInfo ( ) : string
OnLoad ( ConfigNode node ) : void
OnStart ( PartModule state ) : void
OnUpdate ( ) : void
ResetFrameCount ( ) : void

Private Methods

Méthode Description
CalculateCurves ( ) : void
FindFlowRate ( float thrust, float isp, Propellant fuelPropellant ) : float
FindIsp ( float thrust, float flowRate, Propellant fuelPropellant ) : float
LinkEngines ( ) : void
LinkEnginesAction ( KSPActionParam param ) : void
RecalculateRatios ( float desiredthrust, float desiredisp ) : void
SetupVariableEngines ( ) : void
ToggleLinkEnginesAction ( KSPActionParam param ) : void
UnlinkEngines ( ) : void
UnlinkEnginesAction ( KSPActionParam param ) : void

Method Details

ChangeIspAndThrust() public méthode

public ChangeIspAndThrust ( float level ) : void
level float
Résultat void

ChangeIspAndThrustLinked() public méthode

public ChangeIspAndThrustLinked ( float level ) : void
level float
Résultat void

FixedUpdate() public méthode

public FixedUpdate ( ) : void
Résultat void

GetInfo() public méthode

public GetInfo ( ) : string
Résultat string

OnLoad() public méthode

public OnLoad ( ConfigNode node ) : void
node System.ConfigNode
Résultat void

OnStart() public méthode

public OnStart ( PartModule state ) : void
state PartModule
Résultat void

OnUpdate() public méthode

public OnUpdate ( ) : void
Résultat void

ResetFrameCount() public méthode

public ResetFrameCount ( ) : void
Résultat void