Package zombie.iso.weather
Class WeatherPeriod
java.lang.Object
zombie.iso.weather.WeatherPeriod
public class WeatherPeriod
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WeatherPeriod.StrLerpVal
static class
WeatherPeriod.WeatherStage
-
Field Summary
Fields Modifier and Type Field Description static float
FRONT_STRENGTH_THRESHOLD
static int
STAGE_BLIZZARD
static int
STAGE_CLEARING
static int
STAGE_DRIZZLE
static int
STAGE_HEAVY_PRECIP
static int
STAGE_INTERMEZZO
static int
STAGE_KATEBOB_STORM
static int
STAGE_MAX
static int
STAGE_MODDED
static int
STAGE_MODERATE
static int
STAGE_SHOWERS
static int
STAGE_START
static int
STAGE_STORM
static int
STAGE_TROPICAL_STORM
-
Constructor Summary
Constructors Constructor Description WeatherPeriod(ClimateManager climateManager, ThunderStorm thunderStorm)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
STAGE_START
public static final int STAGE_START- See Also:
- Constant Field Values
-
STAGE_SHOWERS
public static final int STAGE_SHOWERS- See Also:
- Constant Field Values
-
STAGE_HEAVY_PRECIP
public static final int STAGE_HEAVY_PRECIP- See Also:
- Constant Field Values
-
STAGE_STORM
public static final int STAGE_STORM- See Also:
- Constant Field Values
-
STAGE_CLEARING
public static final int STAGE_CLEARING- See Also:
- Constant Field Values
-
STAGE_MODERATE
public static final int STAGE_MODERATE- See Also:
- Constant Field Values
-
STAGE_DRIZZLE
public static final int STAGE_DRIZZLE- See Also:
- Constant Field Values
-
STAGE_BLIZZARD
public static final int STAGE_BLIZZARD- See Also:
- Constant Field Values
-
STAGE_TROPICAL_STORM
public static final int STAGE_TROPICAL_STORM- See Also:
- Constant Field Values
-
STAGE_INTERMEZZO
public static final int STAGE_INTERMEZZO- See Also:
- Constant Field Values
-
STAGE_MODDED
public static final int STAGE_MODDED- See Also:
- Constant Field Values
-
STAGE_KATEBOB_STORM
public static final int STAGE_KATEBOB_STORM- See Also:
- Constant Field Values
-
STAGE_MAX
public static final int STAGE_MAX- See Also:
- Constant Field Values
-
FRONT_STRENGTH_THRESHOLD
public static final float FRONT_STRENGTH_THRESHOLD- See Also:
- Constant Field Values
-
-
Constructor Details
-
WeatherPeriod
-
-
Method Details
-
setDummy
public void setDummy(boolean boolean1) -
getMaxTemperatureInfluence
public static float getMaxTemperatureInfluence() -
setKateBobStormProgress
public void setKateBobStormProgress(float float1) -
setKateBobStormCoords
public void setKateBobStormCoords(int int1, int int2) -
getCloudColorReddish
-
getCloudColorGreenish
-
getCloudColorBlueish
-
getCloudColorPurplish
-
getCloudColorTropical
-
getCloudColorBlizzard
-
isRunning
public boolean isRunning() -
getDuration
public double getDuration() -
getFrontCache
-
getCurrentStageID
public int getCurrentStageID() -
getCurrentStage
-
getWeatherNoise
public double getWeatherNoise() -
getCurrentStrength
public float getCurrentStrength() -
getRainThreshold
public float getRainThreshold() -
isThunderStorm
public boolean isThunderStorm() -
isTropicalStorm
public boolean isTropicalStorm() -
isBlizzard
public boolean isBlizzard() -
getPrecipitationFinal
public float getPrecipitationFinal() -
getCloudColor
-
setCloudColor
-
getTotalProgress
public float getTotalProgress() -
getStageProgress
public float getStageProgress() -
hasTropical
public boolean hasTropical() -
hasStorm
public boolean hasStorm() -
hasBlizzard
public boolean hasBlizzard() -
hasHeavyRain
public boolean hasHeavyRain() -
getTotalStrength
public float getTotalStrength() -
getStageForWorldAge
-
getWindAngleDegrees
public float getWindAngleDegrees() -
getFrontType
public int getFrontType() -
setPrintStuff
public void setPrintStuff(boolean boolean1) -
getPrintStuff
public boolean getPrintStuff() -
initSimulationDebug
-
initSimulationDebug
public void initSimulationDebug(ClimateManager.AirFront airFront, double double1, int int1, float float1) -
init
protected void init(ClimateManager.AirFront airFront, double double1, int int1, int int2, int int3) -
init
protected void init(ClimateManager.AirFront airFront, double double1, int int1, int int2, int int3, int int4, float float1) -
reseed
protected void reseed(int int1, int int2, int int3) -
startCreateModdedPeriod
public boolean startCreateModdedPeriod(boolean boolean1, float float1, float float2) -
endCreateModdedPeriod
public boolean endCreateModdedPeriod() -
stopWeatherPeriod
public void stopWeatherPeriod() -
writeNetWeatherData
public void writeNetWeatherData(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
readNetWeatherData
public void readNetWeatherData(java.nio.ByteBuffer byteBuffer) throws java.io.IOException- Throws:
java.io.IOException
-
getWeatherStages
public java.util.ArrayList getWeatherStages() -
createAndAddModdedStage
-
createAndAddStage
-
update
public void update(double double1) -
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
-