Package zombie.iso.weather
Class WeatherPeriod.WeatherStage
java.lang.Object
zombie.iso.weather.WeatherPeriod.WeatherStage
- Enclosing class:
- WeatherPeriod
public static class WeatherPeriod.WeatherStage
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description protected boolean
creationFinished
protected float
entryStrength
protected float
exitStrength
protected boolean
hasStartedCloud
protected boolean
isCycleFirstHalf
protected WeatherPeriod.StrLerpVal
lerpEndVal
protected WeatherPeriod.StrLerpVal
lerpMidVal
protected float
linearT
protected java.lang.String
modID
protected WeatherPeriod.WeatherStage
nextStage
protected float
parabolicT
protected WeatherPeriod.WeatherStage
previousStage
protected int
stageID
protected float
targetStrength
-
Constructor Summary
Constructors Constructor Description WeatherStage()
WeatherStage(int int1)
-
Method Summary
Modifier and Type Method Description boolean
getHasStartedCloud()
float
getLinearT()
java.lang.String
getModID()
float
getParabolicT()
float
getStageCurrentStrength()
double
getStageDuration()
double
getStageEnd()
int
getStageID()
double
getStageStart()
void
lerpEntryTo(int int1, int int2)
protected void
lerpEntryTo(WeatherPeriod.StrLerpVal strLerpVal)
protected void
lerpEntryTo(WeatherPeriod.StrLerpVal strLerpVal, WeatherPeriod.StrLerpVal strLerpVal2)
void
load(java.io.DataInputStream dataInputStream, int int1)
protected void
reset()
void
save(java.io.DataOutputStream dataOutputStream)
void
setHasStartedCloud(boolean boolean1)
protected WeatherPeriod.WeatherStage
setStageDuration(double double1)
void
setStageID(int int1)
void
setTargetStrength(float float1)
protected WeatherPeriod.WeatherStage
startStage(double double1)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 -
linearT
protected float linearT -
parabolicT
protected float parabolicT -
isCycleFirstHalf
protected boolean isCycleFirstHalf -
creationFinished
protected boolean creationFinished -
modID
protected java.lang.String 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
public java.lang.String 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
public void save(java.io.DataOutputStream dataOutputStream) throws java.io.IOException- Throws:
java.io.IOException
-
load
public void load(java.io.DataInputStream dataInputStream, int int1) throws java.io.IOException- Throws:
java.io.IOException
-
reset
protected void reset() -
startStage
-
setStageDuration
-
lerpEntryTo
public void lerpEntryTo(int int1, int int2) -
lerpEntryTo
-
lerpEntryTo
protected void lerpEntryTo(WeatherPeriod.StrLerpVal strLerpVal, WeatherPeriod.StrLerpVal strLerpVal2) -
getStageCurrentStrength
public float getStageCurrentStrength()
-