C# Class Landertron.ModeHandlerBase

Show file Open project: Kerbas-ad-astra/XTLandertron

Protected Properties

Property Type Description
armedLandertrons List
firingLandertrons List
log Logger
vessel Vessel

Public Methods

Method Description
addLandertron ( Landertron landertron ) : void
execute ( ) : void
removeLandertron ( Landertron landertron ) : void

Protected Methods

Method Description
ModeHandlerBase ( Vessel vessel ) : System
calculateCombinedThrust ( List landertrons ) : Vector3d
shouldFireArmedLandertrons ( ) : bool
shouldShutdownFiringLandertrons ( ) : bool

Method Details

ModeHandlerBase() protected method

protected ModeHandlerBase ( Vessel vessel ) : System
vessel Vessel
return System

addLandertron() public method

public addLandertron ( Landertron landertron ) : void
landertron Landertron
return void

calculateCombinedThrust() protected method

protected calculateCombinedThrust ( List landertrons ) : Vector3d
landertrons List
return Vector3d

execute() public method

public execute ( ) : void
return void

removeLandertron() public method

public removeLandertron ( Landertron landertron ) : void
landertron Landertron
return void

shouldFireArmedLandertrons() protected abstract method

protected abstract shouldFireArmedLandertrons ( ) : bool
return bool

shouldShutdownFiringLandertrons() protected abstract method

protected abstract shouldShutdownFiringLandertrons ( ) : bool
return bool

Property Details

armedLandertrons protected property

protected List armedLandertrons
return List

firingLandertrons protected property

protected List firingLandertrons
return List

log protected property

protected Logger log
return Logger

vessel protected property

protected Vessel vessel
return Vessel