move AirStart extension files from .../impl/ to .../example
add getDescription() to AirStart extension
This commit is contained in:
parent
9a51bda56d
commit
ba630ab37e
@ -28,6 +28,11 @@ public class AirStart extends AbstractSimulationExtension {
|
|||||||
name = L10N.replace(name, "{vel}", UnitGroup.UNITS_VELOCITY.toStringUnit(getLaunchVelocity()));
|
name = L10N.replace(name, "{vel}", UnitGroup.UNITS_VELOCITY.toStringUnit(getLaunchVelocity()));
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public String getDescription() {
|
||||||
|
return "Start simulation with a configurable altitude and velocity";
|
||||||
|
}
|
||||||
|
|
||||||
public double getLaunchAltitude() {
|
public double getLaunchAltitude() {
|
||||||
return config.getDouble("launchAltitude", 0.0);
|
return config.getDouble("launchAltitude", 0.0);
|
Loading…
x
Reference in New Issue
Block a user