public class FlyingParameters
extends java.lang.Object
Constructor and Description |
---|
FlyingParameters()
Constructor containing default values
|
FlyingParameters(int heightMin,
int heightMax,
float speedMod,
int rateY,
int rateXZ,
int rateSpeed,
int flightTimeMin,
int flightTimeMax,
int flapRate,
LandingMaterials landingMaterials)
Constructor containing all modifiable values
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
int |
getFlapRate() |
int |
getFlightTimeMax() |
int |
getFlightTimeMin() |
int |
getFlyHeightMax() |
int |
getFlyHeightMin() |
int |
getFlyRefreshRateSpeed() |
int |
getFlyRefreshRateXZ() |
int |
getFlyRefreshRateY() |
float |
getFlySpeedModifier() |
LandingMaterials |
getLandingMaterials() |
int |
hashCode() |
public FlyingParameters(int heightMin, int heightMax, float speedMod, int rateY, int rateXZ, int rateSpeed, int flightTimeMin, int flightTimeMax, int flapRate, LandingMaterials landingMaterials)
heightMin
- The minimum flying heightheightMax
- The maximum flying heightspeedMod
- The speed modifierrateY
- The rate of Y changerateXZ
- The rate of X/Z changerateSpeed
- The rate of speed changeflightTimeMin
- The minimum time of flightflightTimeMax
- The maximum time of flightflapRate
- The rate at which wings flaplandingMaterials
- Material types they can land onpublic FlyingParameters()
public int getFlyHeightMin()
public int getFlyHeightMax()
public float getFlySpeedModifier()
public int getFlyRefreshRateY()
public int getFlyRefreshRateXZ()
public int getFlyRefreshRateSpeed()
public int getFlightTimeMin()
public int getFlightTimeMax()
public int getFlapRate()
public LandingMaterials getLandingMaterials()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object