Package zombie.iso.weather
Class WeatherPeriod.WeatherStage
java.lang.Object
zombie.iso.weather.WeatherPeriod.WeatherStage
- Enclosing class:
- WeatherPeriod
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected floatprotected floatprotected floatprotected booleanprotected booleanprotected WeatherPeriod.StrLerpValprotected WeatherPeriod.StrLerpValprotected floatprotected Stringprotected WeatherPeriod.WeatherStageprotected floatprotected WeatherPeriod.WeatherStageprotected intprotected float -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanfloatgetModID()floatfloatdoubledoubleintdoublevoidlerpEntryTo(int int1, int int2) protected voidlerpEntryTo(WeatherPeriod.StrLerpVal strLerpVal) protected voidlerpEntryTo(WeatherPeriod.StrLerpVal strLerpVal, WeatherPeriod.StrLerpVal strLerpVal2) voidload(DataInputStream dataInputStream, int int1) protected WeatherPeriod.WeatherStageoverrideStageDuration(double double1) protected voidreset()voidsave(DataOutputStream dataOutputStream) voidsetHasStartedCloud(boolean boolean1) protected WeatherPeriod.WeatherStagesetStageDuration(double double1) voidsetStageID(int int1) protected doublesetStageStart(double double1) voidsetTargetStrength(float float1) protected WeatherPeriod.WeatherStagestartStage(double double1)
-
Field Details
-
previousStage
-
nextStage
-
stageID
protected int stageID -
entryStrength
protected float entryStrength -
exitStrength
protected float exitStrength -
targetStrength
protected float targetStrength -
lerpMidVal
-
lerpEndVal
-
hasStartedCloud
protected boolean hasStartedCloud -
fogStrength
protected float fogStrength -
linearT
protected float linearT -
parabolicT
protected float parabolicT -
isCycleFirstHalf
protected boolean isCycleFirstHalf -
creationFinished
protected boolean creationFinished -
modID
-
-
Constructor Details
-
WeatherStage
public WeatherStage() -
WeatherStage
public WeatherStage(int int1)
-
-
Method Details
-
setStageID
public void setStageID(int int1) -
getStageStart
public double getStageStart() -
getStageEnd
public double getStageEnd() -
getStageDuration
public double getStageDuration() -
getStageID
public int getStageID() -
getModID
-
getLinearT
public float getLinearT() -
getParabolicT
public float getParabolicT() -
setTargetStrength
public void setTargetStrength(float float1) -
getHasStartedCloud
public boolean getHasStartedCloud() -
setHasStartedCloud
public void setHasStartedCloud(boolean boolean1) -
save
- Throws:
IOException
-
load
- Throws:
IOException
-
reset
protected void reset() -
startStage
-
setStageStart
protected double setStageStart(double double1) -
setStageDuration
-
overrideStageDuration
-
lerpEntryTo
public void lerpEntryTo(int int1, int int2) -
lerpEntryTo
-
lerpEntryTo
protected void lerpEntryTo(WeatherPeriod.StrLerpVal strLerpVal, WeatherPeriod.StrLerpVal strLerpVal2) -
getStageCurrentStrength
public float getStageCurrentStrength()
-