Package zombie.iso.weather
Class WeatherPeriod
java.lang.Object
zombie.iso.weather.WeatherPeriod
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
static class
-
Field Summary
Modifier and TypeFieldDescriptionstatic final float
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateAndAddModdedStage
(String string, double double1) createAndAddStage
(int int1, double double1) boolean
int
float
double
int
static float
float
boolean
float
getStageForWorldAge
(double double1) float
float
float
double
float
boolean
boolean
boolean
hasStorm()
boolean
protected void
init
(ClimateManager.AirFront airFront, double double1, int int1, int int2, int int3) protected void
init
(ClimateManager.AirFront airFront, double double1, int int1, int int2, int int3, int int4, float float1) void
initSimulationDebug
(ClimateManager.AirFront airFront, double double1) void
initSimulationDebug
(ClimateManager.AirFront airFront, double double1, int int1, float float1) boolean
boolean
boolean
boolean
void
load
(DataInputStream dataInputStream, int int1) void
readNetWeatherData
(ByteBuffer byteBuffer) protected void
reseed
(int int1, int int2, int int3) void
save
(DataOutputStream dataOutputStream) void
setCloudColor
(ClimateColorInfo climateColorInfo) void
setDummy
(boolean boolean1) void
setKateBobStormCoords
(int int1, int int2) void
setKateBobStormProgress
(float float1) void
setPrintStuff
(boolean boolean1) boolean
startCreateModdedPeriod
(boolean boolean1, float float1, float float2) void
void
update
(double double1) void
writeNetWeatherData
(ByteBuffer byteBuffer)
-
Field Details
-
STAGE_START
public static final int STAGE_START- See Also:
-
STAGE_SHOWERS
public static final int STAGE_SHOWERS- See Also:
-
STAGE_HEAVY_PRECIP
public static final int STAGE_HEAVY_PRECIP- See Also:
-
STAGE_STORM
public static final int STAGE_STORM- See Also:
-
STAGE_CLEARING
public static final int STAGE_CLEARING- See Also:
-
STAGE_MODERATE
public static final int STAGE_MODERATE- See Also:
-
STAGE_DRIZZLE
public static final int STAGE_DRIZZLE- See Also:
-
STAGE_BLIZZARD
public static final int STAGE_BLIZZARD- See Also:
-
STAGE_TROPICAL_STORM
public static final int STAGE_TROPICAL_STORM- See Also:
-
STAGE_INTERMEZZO
public static final int STAGE_INTERMEZZO- See Also:
-
STAGE_MODDED
public static final int STAGE_MODDED- See Also:
-
STAGE_KATEBOB_STORM
public static final int STAGE_KATEBOB_STORM- See Also:
-
STAGE_MAX
public static final int STAGE_MAX- See Also:
-
FRONT_STRENGTH_THRESHOLD
public static final float FRONT_STRENGTH_THRESHOLD- See Also:
-
-
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
-
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
- Throws:
IOException
-
readNetWeatherData
- Throws:
IOException
-
getWeatherStages
-
createAndAddModdedStage
-
createAndAddStage
-
update
public void update(double double1) -
save
- Throws:
IOException
-
load
- Throws:
IOException
-