C# 클래스 RemoteTech.FlightComputer.Commands.BurnCommand

상속: AbstractCommand
파일 보기 프로젝트 열기: RemoteTechnologiesGroup/RemoteTech 1 사용 예제들

공개 메소드들

메소드 설명
Abort ( ) : void
CommandCanceled ( FlightComputer computer ) : void

This method will be triggerd after deleting a command from the list.

CommandEnqueued ( FlightComputer computer ) : void

This method will be triggerd right after the command was enqueued to the flight computer list.

Execute ( FlightComputer f, FlightCtrlState fcs ) : bool
Off ( ) : BurnCommand
Pop ( FlightComputer f ) : bool
WithDeltaV ( float throttle, double delta ) : BurnCommand
WithDuration ( float throttle, double duration ) : BurnCommand
getMaxBurnTime ( FlightComputer f ) : double

Returns the total time for this burn in seconds

비공개 메소드들

메소드 설명
burnLength ( ) : string

메소드 상세

Abort() 공개 메소드

public Abort ( ) : void
리턴 void

CommandCanceled() 공개 메소드

This method will be triggerd after deleting a command from the list.
public CommandCanceled ( FlightComputer computer ) : void
computer FlightComputer Current flight computer
리턴 void

CommandEnqueued() 공개 메소드

This method will be triggerd right after the command was enqueued to the flight computer list.
public CommandEnqueued ( FlightComputer computer ) : void
computer FlightComputer Current flightcomputer
리턴 void

Execute() 공개 메소드

public Execute ( FlightComputer f, FlightCtrlState fcs ) : bool
f FlightComputer
fcs FlightCtrlState
리턴 bool

Off() 공개 정적인 메소드

public static Off ( ) : BurnCommand
리턴 BurnCommand

Pop() 공개 메소드

public Pop ( FlightComputer f ) : bool
f FlightComputer
리턴 bool

WithDeltaV() 공개 정적인 메소드

public static WithDeltaV ( float throttle, double delta ) : BurnCommand
throttle float
delta double
리턴 BurnCommand

WithDuration() 공개 정적인 메소드

public static WithDuration ( float throttle, double duration ) : BurnCommand
throttle float
duration double
리턴 BurnCommand

getMaxBurnTime() 공개 메소드

Returns the total time for this burn in seconds
public getMaxBurnTime ( FlightComputer f ) : double
f FlightComputer Flightcomputer for the current vessel
리턴 double