C# Class RealFuels.Ullage.UllageSimulator

Inheritance: IConfigNode
Show file Open project: NathanKell/ModularFuelSystem Class Usage Examples

Public Methods

Method Description
GetPropellantStability ( ) : double
GetPropellantStatus ( Color &col ) : string
Load ( ConfigNode node ) : void
Reset ( ) : void
Save ( ConfigNode node ) : void
SetPropellantStability ( double newStab ) : void
UllageSimulator ( ) : System
UllageSimulator ( string partname ) : System
Update ( UnityEngine.Vector3d localAcceleration, UnityEngine.Vector3d rotation, double deltaTime, double ventingAcc, double fuelRatio ) : void

Private Methods

Method Description
SetStateString ( ) : void

Method Details

GetPropellantStability() public method

public GetPropellantStability ( ) : double
return double

GetPropellantStatus() public method

public GetPropellantStatus ( Color &col ) : string
col Color
return string

Load() public method

public Load ( ConfigNode node ) : void
node System.ConfigNode
return void

Reset() public method

public Reset ( ) : void
return void

Save() public method

public Save ( ConfigNode node ) : void
node System.ConfigNode
return void

SetPropellantStability() public method

public SetPropellantStability ( double newStab ) : void
newStab double
return void

UllageSimulator() public method

public UllageSimulator ( ) : System
return System

UllageSimulator() public method

public UllageSimulator ( string partname ) : System
partname string
return System

Update() public method

public Update ( UnityEngine.Vector3d localAcceleration, UnityEngine.Vector3d rotation, double deltaTime, double ventingAcc, double fuelRatio ) : void
localAcceleration UnityEngine.Vector3d
rotation UnityEngine.Vector3d
deltaTime double
ventingAcc double
fuelRatio double
return void