Package zombie.iso.weather
Class WeatherPeriod.WeatherStage
java.lang.Object
zombie.iso.weather.WeatherPeriod.WeatherStage
- Enclosing class:
- WeatherPeriod
-
Field Summary
Modifier and TypeFieldDescriptionprotected boolean
protected float
protected float
protected float
protected boolean
protected boolean
protected WeatherPeriod.StrLerpVal
protected WeatherPeriod.StrLerpVal
protected float
protected String
protected WeatherPeriod.WeatherStage
protected float
protected WeatherPeriod.WeatherStage
protected int
protected float
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
float
getModID()
float
float
double
double
int
double
void
lerpEntryTo
(int int1, int int2) protected void
lerpEntryTo
(WeatherPeriod.StrLerpVal strLerpVal) protected void
lerpEntryTo
(WeatherPeriod.StrLerpVal strLerpVal, WeatherPeriod.StrLerpVal strLerpVal2) void
load
(DataInputStream dataInputStream, int int1) protected WeatherPeriod.WeatherStage
overrideStageDuration
(double double1) protected void
reset()
void
save
(DataOutputStream dataOutputStream) void
setHasStartedCloud
(boolean boolean1) protected WeatherPeriod.WeatherStage
setStageDuration
(double double1) void
setStageID
(int int1) protected double
setStageStart
(double double1) void
setTargetStrength
(float float1) protected WeatherPeriod.WeatherStage
startStage
(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()
-