Class ErosionSeason
java.lang.Object
zombie.erosion.season.ErosionSeason
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
float
float
getDawn()
float
float
float
float
float
float
getDusk()
float
int
getLat()
double
double
float
float
int
float
float
int
float
float
int
getSeedA()
int
getSeedB()
int
getSeedC()
int
int
int
getWinterStartDay
(int _day, int _month, int _year) void
init
(int _lat, int _tempMax, int _tempMin, int _tempDiff, int _seasonLag, float _noon, int _seedA, int _seedB, int _seedC) boolean
boolean
isSeason
(int _season) boolean
boolean
static void
Reset()
void
setCurSeason
(int season) void
setDay
(int _day, int _month, int _year) void
setRain
(float _jan, float _feb, float _mar, float _apr, float _may, float _jun, float _jul, float _aug, float _sep, float _oct, float _nov, float _dec)
-
Field Details
-
SEASON_DEFAULT
public static final int SEASON_DEFAULT- See Also:
-
SEASON_SPRING
public static final int SEASON_SPRING- See Also:
-
SEASON_SUMMER
public static final int SEASON_SUMMER- See Also:
-
SEASON_SUMMER2
public static final int SEASON_SUMMER2- See Also:
-
SEASON_AUTUMN
public static final int SEASON_AUTUMN- See Also:
-
SEASON_WINTER
public static final int SEASON_WINTER- See Also:
-
NUM_SEASONS
public static final int NUM_SEASONS- See Also:
-
-
Constructor Details
-
ErosionSeason
public ErosionSeason()
-
-
Method Details
-
init
public void init(int _lat, int _tempMax, int _tempMin, int _tempDiff, int _seasonLag, float _noon, int _seedA, int _seedB, int _seedC) -
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 _jan, float _feb, float _mar, float _apr, float _may, float _jun, float _jul, float _aug, float _sep, float _oct, float _nov, float _dec) -
clone
-
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
-
getSeasonNameTranslated
-
isSeason
public boolean isSeason(int _season) -
getWinterStartDay
-
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 _day, int _month, int _year) -
Reset
public static void Reset() -
setCurSeason
public void setCurSeason(int season)
-