C# Класс RemoteTech.FlightComputer.Commands.BurnCommand

Наследование: AbstractCommand
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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