C# Class GravityTurn.StageController

显示文件 Open project: johnfink8/GravityTurn Class Usage Examples

Public Properties

Property Type Description
autoStageManagerOnce bool
autostageLimit EditableValue
autostagePostDelay EditableValue
autostagePreDelay EditableValue

Private Properties

Property Type Description
EnabledEngine ModuleEngines
IsEnabledEngine bool
PartIsEngine bool

Public Methods

Method Description
FindBurnedResources ( ) : List
HasActiveOrIdleEngineOrTankDescendant ( Part p, List tankResources ) : bool
HasDeactivatedEngineOrTankDescendant ( Part p ) : bool
HasStayingChutes ( int inverseStage, Vessel v ) : bool
HasStayingFairing ( int inverseStage, Vessel v ) : bool
InverseStageDecouplesActiveOrIdleEngineOrTank ( int inverseStage, Vessel v, List tankResources ) : bool
InverseStageDecouplesDeactivatedEngineOrTank ( int inverseStage, Vessel v ) : bool
InverseStageFiresDecoupler ( int inverseStage, Vessel v ) : bool
StageController ( GravityTurner turner ) : System
Update ( ) : void

Private Methods

Method Description
EnabledEngine ( Part p ) : ModuleEngines
IsEnabledEngine ( ModuleEngines e ) : bool
PartIsEngine ( Part p ) : bool

Method Details

FindBurnedResources() public method

public FindBurnedResources ( ) : List
return List

HasActiveOrIdleEngineOrTankDescendant() public static method

public static HasActiveOrIdleEngineOrTankDescendant ( Part p, List tankResources ) : bool
p Part
tankResources List
return bool

HasDeactivatedEngineOrTankDescendant() public static method

public static HasDeactivatedEngineOrTankDescendant ( Part p ) : bool
p Part
return bool

HasStayingChutes() public static method

public static HasStayingChutes ( int inverseStage, Vessel v ) : bool
inverseStage int
v Vessel
return bool

HasStayingFairing() public static method

public static HasStayingFairing ( int inverseStage, Vessel v ) : bool
inverseStage int
v Vessel
return bool

InverseStageDecouplesActiveOrIdleEngineOrTank() public static method

public static InverseStageDecouplesActiveOrIdleEngineOrTank ( int inverseStage, Vessel v, List tankResources ) : bool
inverseStage int
v Vessel
tankResources List
return bool

InverseStageDecouplesDeactivatedEngineOrTank() public static method

public static InverseStageDecouplesDeactivatedEngineOrTank ( int inverseStage, Vessel v ) : bool
inverseStage int
v Vessel
return bool

InverseStageFiresDecoupler() public static method

public static InverseStageFiresDecoupler ( int inverseStage, Vessel v ) : bool
inverseStage int
v Vessel
return bool

StageController() public method

public StageController ( GravityTurner turner ) : System
turner GravityTurner
return System

Update() public method

public Update ( ) : void
return void

Property Details

autoStageManagerOnce public_oe property

public bool autoStageManagerOnce
return bool

autostageLimit public_oe property

public EditableValue autostageLimit
return EditableValue

autostagePostDelay public_oe property

public EditableValue autostagePostDelay
return EditableValue

autostagePreDelay public_oe property

public EditableValue autostagePreDelay
return EditableValue