public class AirplaneTool extends AbstractTool
| Constructor and Description |
|---|
AirplaneTool() |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(ToolContext tc)
This method is called when the tool gets activated.
|
double |
getRollSpeed() |
double |
getRollUpDownSpeed() |
double |
getRunFactor() |
double |
getThrustFactor() |
double |
getThrustHesitation() |
boolean |
isUpDownInvert() |
void |
perform(ToolContext tc)
This method is called when the tool is activated and any
AxisState or TransformationMatrix of the current slots changes.
|
void |
setRollSpeed(double rollSpeed) |
void |
setRollUpDownSpeed(double rollUpDownSpeed) |
void |
setRunFactor(double runFactor) |
void |
setThrustFactor(double thrustFactor) |
void |
setThrustHesitation(double thrustHesitation) |
void |
setUpDownInvert(boolean upDownInvert) |
addCurrentSlot, deactivate, equals, fullDescription, getActivationSlots, getCurrentSlots, getDescription, getDescription, hashCode, removeCurrentSlot, setDescriptionpublic void activate(ToolContext tc)
Toolactivate in interface Toolactivate in class AbstractTooltc - The current tool contextpublic void perform(ToolContext tc)
Toolperform in interface Toolperform in class AbstractTooltc - The current tool contextpublic double getRollSpeed()
public void setRollSpeed(double rollSpeed)
public double getRollUpDownSpeed()
public void setRollUpDownSpeed(double rollUpDownSpeed)
public double getRunFactor()
public void setRunFactor(double runFactor)
public double getThrustFactor()
public void setThrustFactor(double thrustFactor)
public double getThrustHesitation()
public void setThrustHesitation(double thrustHesitation)
public boolean isUpDownInvert()
public void setUpDownInvert(boolean upDownInvert)