Package com.titan.model
Class LandingModule
java.lang.Object
com.titan.model.CelestialObject
com.titan.model.Rocket
com.titan.model.LandingModule
-
Field Summary
Fields inherited from class com.titan.model.CelestialObject
stepsUntilNextHistoricSave -
Constructor Summary
ConstructorsConstructorDescriptionLandingModule(String name) LandingModule(String name, double m, double diameter, javafx.scene.paint.Color color, int radius) LandingModule(String name, double m, Vector initialPos, Vector initialVel, double diameter, javafx.scene.paint.Color color, int radius) -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyEngineForces(double accelerationForce, double rotation) doubledoubledoubledoublegetX()doublegetY()voidMethods inherited from class com.titan.model.Rocket
fireEngineWithForce, fireEngineWithVelocity, getFuelConsumptionMethods inherited from class com.titan.model.CelestialObject
getColor, getDiameter, getHistoricPositions, getM, getName, getPosition, getRadius, getVelocity, toCSVString, toString, updatePosition, updateVelocity
-
Constructor Details
-
LandingModule
-
LandingModule
public LandingModule(String name, double m, double diameter, javafx.scene.paint.Color color, int radius) -
LandingModule
-
-
Method Details
-
getX
public double getX() -
getY
public double getY() -
getRotationAngle
public double getRotationAngle() -
getVelocityInKmPerSecond
public double getVelocityInKmPerSecond() -
getThrust
-
applyEngineForces
public void applyEngineForces(double accelerationForce, double rotation) -
getTotalSpeed
public double getTotalSpeed() -
setThrust
-