Package zombie.erosion.season
Class ErosionSeason
java.lang.Object
zombie.erosion.season.ErosionSeason
public class ErosionSeason
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static int
NUM_SEASONS
static int
SEASON_AUTUMN
static int
SEASON_DEFAULT
static int
SEASON_SPRING
static int
SEASON_SUMMER
static int
SEASON_SUMMER2
static int
SEASON_WINTER
-
Constructor Summary
Constructors Constructor Description ErosionSeason()
-
Method Summary
Modifier and Type Method Description ErosionSeason
clone()
float
getCurDayPercent()
float
getDawn()
float
getDayHighNoon()
float
getDaylight()
float
getDayMeanTemperature()
float
getDayNoiseVal()
float
getDayTemperature()
float
getDusk()
float
getHighNoon()
int
getLat()
double
getMaxDaylightSummer()
double
getMaxDaylightWinter()
float
getRainDayStrength()
float
getRainYearAverage()
int
getSeason()
float
getSeasonDay()
float
getSeasonDays()
int
getSeasonLag()
java.lang.String
getSeasonName()
float
getSeasonProgression()
float
getSeasonStrength()
int
getSeedA()
int
getSeedB()
int
getSeedC()
int
getTempDiff()
int
getTempMax()
int
getTempMin()
java.util.GregorianCalendar
getWinterStartDay(int int1, int int2, int int3)
void
init(int int1, int int2, int int3, int int4, int int5, float float1, int int6, int int7, int int8)
boolean
isRainDay()
boolean
isSeason(int int1)
boolean
isSunnyDay()
boolean
isThunderDay()
static void
Reset()
void
setCurSeason(int int1)
void
setDay(int int1, int int2, int int3)
void
setRain(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12)
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
SEASON_DEFAULT
public static final int SEASON_DEFAULT- See Also:
- Constant Field Values
-
SEASON_SPRING
public static final int SEASON_SPRING- See Also:
- Constant Field Values
-
SEASON_SUMMER
public static final int SEASON_SUMMER- See Also:
- Constant Field Values
-
SEASON_SUMMER2
public static final int SEASON_SUMMER2- See Also:
- Constant Field Values
-
SEASON_AUTUMN
public static final int SEASON_AUTUMN- See Also:
- Constant Field Values
-
SEASON_WINTER
public static final int SEASON_WINTER- See Also:
- Constant Field Values
-
NUM_SEASONS
public static final int NUM_SEASONS- See Also:
- Constant Field Values
-
-
Constructor Details
-
ErosionSeason
public ErosionSeason()
-
-
Method Details
-
init
public void init(int int1, int int2, int int3, int int4, int int5, float float1, int int6, int int7, int int8) -
getLat
public int getLat() -
getTempMax
public int getTempMax() -
getTempMin
public int getTempMin() -
getTempDiff
public int getTempDiff() -
getSeasonLag
public int getSeasonLag() -
getHighNoon
public float getHighNoon() -
getSeedA
public int getSeedA() -
getSeedB
public int getSeedB() -
getSeedC
public int getSeedC() -
setRain
public void setRain(float float1, float float2, float float3, float float4, float float5, float float6, float float7, float float8, float float9, float float10, float float11, float float12) -
clone
- Overrides:
clone
in classjava.lang.Object
-
getCurDayPercent
public float getCurDayPercent() -
getMaxDaylightWinter
public double getMaxDaylightWinter() -
getMaxDaylightSummer
public double getMaxDaylightSummer() -
getDusk
public float getDusk() -
getDawn
public float getDawn() -
getDaylight
public float getDaylight() -
getDayTemperature
public float getDayTemperature() -
getDayMeanTemperature
public float getDayMeanTemperature() -
getSeason
public int getSeason() -
getDayHighNoon
public float getDayHighNoon() -
getSeasonName
public java.lang.String getSeasonName() -
isSeason
public boolean isSeason(int int1) -
getWinterStartDay
public java.util.GregorianCalendar getWinterStartDay(int int1, int int2, int int3) -
getSeasonDay
public float getSeasonDay() -
getSeasonDays
public float getSeasonDays() -
getSeasonStrength
public float getSeasonStrength() -
getSeasonProgression
public float getSeasonProgression() -
getDayNoiseVal
public float getDayNoiseVal() -
isRainDay
public boolean isRainDay() -
getRainDayStrength
public float getRainDayStrength() -
getRainYearAverage
public float getRainYearAverage() -
isThunderDay
public boolean isThunderDay() -
isSunnyDay
public boolean isSunnyDay() -
setDay
public void setDay(int int1, int int2, int int3) -
Reset
public static void Reset() -
setCurSeason
public void setCurSeason(int int1)
-