zombie
Class GameTime
java.lang.Object
zombie.GameTime
public class GameTime
- extends java.lang.Object
- Author:
- LEMMY
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
millingtune
public java.lang.String millingtune
zombieTune
public java.lang.String zombieTune
instance
public static GameTime instance
HelicopterTime1Start
public float HelicopterTime1Start
HelicopterTime1End
public float HelicopterTime1End
HelicopterDay1
public float HelicopterDay1
HelicopterTime2Start
public float HelicopterTime2Start
HelicopterTime2End
public float HelicopterTime2End
HelicopterDay2
public float HelicopterDay2
Ambient
public float Ambient
AmbientMax
public float AmbientMax
AmbientMin
public float AmbientMin
Day
public int Day
StartDay
public int StartDay
MaxZombieCountStart
public float MaxZombieCountStart
MinZombieCountStart
public float MinZombieCountStart
MaxZombieCount
public float MaxZombieCount
MinZombieCount
public float MinZombieCount
Month
public int Month
StartMonth
public int StartMonth
NightTint
public float NightTint
TimeOfDay
public float TimeOfDay
StartTimeOfDay
public float StartTimeOfDay
ViewDist
public float ViewDist
ViewDistMax
public float ViewDistMax
ViewDistMin
public float ViewDistMin
Year
public int Year
StartYear
public int StartYear
NightsSurvived
public int NightsSurvived
HoursSurvived
public double HoursSurvived
Calender
public java.util.GregorianCalendar Calender
MinutesPerDayStart
public float MinutesPerDayStart
MinutesPerDay
public float MinutesPerDay
SleepMultiplier
public float SleepMultiplier
LastTimeOfDay
public float LastTimeOfDay
TargetZombies
public int TargetZombies
LastCookMinute
public int LastCookMinute
RainingToday
public boolean RainingToday
FPSMultiplier
public float FPSMultiplier
bGunFireEventToday
public boolean bGunFireEventToday
GunFireTimes
public float[] GunFireTimes
NumGunFireEvents
public int NumGunFireEvents
TicksSinceStart
public long TicksSinceStart
Moon
public float Moon
lightSourceUpdate
public int lightSourceUpdate
multiplierBias
public float multiplierBias
LastLastTimeOfDay
public float LastLastTimeOfDay
GameTime
public GameTime()
getInstance
public static GameTime getInstance()
- Returns:
- the instance
setInstance
public static void setInstance(GameTime aInstance)
- Parameters:
aInstance
- the instance to set
getRealworldSecondsSinceLastUpdate
public float getRealworldSecondsSinceLastUpdate()
getMultipliedSecondsSinceLastUpdate
public float getMultipliedSecondsSinceLastUpdate()
getGameWorldSecondsSinceLastUpdate
public float getGameWorldSecondsSinceLastUpdate()
daysInMonth
public int daysInMonth(int year,
int month)
getDeathString
public java.lang.String getDeathString()
getTimeSurvived
public java.lang.String getTimeSurvived()
init
public void init()
Lerp
public float Lerp(float start,
float end,
float delta)
RemoveZombies
public void RemoveZombies(int i)
- Deprecated.
- Parameters:
i
-
RemoveZombiesIndiscriminate
public void RemoveZombiesIndiscriminate(int i)
TimeLerp
public float TimeLerp(float startVal,
float endVal,
float startTime,
float endTime)
TimeLerpCompressed
public float TimeLerpCompressed(float startVal,
float endVal,
float startTime,
float endTime)
getDeltaMinutesPerDay
public float getDeltaMinutesPerDay()
getNightMin
public float getNightMin()
getNightMax
public float getNightMax()
setNightMax
public void setNightMax(float max)
setNightMin
public void setNightMin(float min)
getMinutes
public int getMinutes()
setMoon
public void setMoon(float moon)
update
public void update(boolean bSleeping)
UpdateZombieCount
public void UpdateZombieCount()
- Deprecated.
getAmbient
public float getAmbient()
- Returns:
- the Ambient
setAmbient
public void setAmbient(float Ambient)
- Parameters:
Ambient
- the Ambient to set
getAmbientMax
public float getAmbientMax()
- Returns:
- the AmbientMax
setAmbientMax
public void setAmbientMax(float AmbientMax)
- Parameters:
AmbientMax
- the AmbientMax to set
getAmbientMin
public float getAmbientMin()
- Returns:
- the AmbientMin
setAmbientMin
public void setAmbientMin(float AmbientMin)
- Parameters:
AmbientMin
- the AmbientMin to set
getDay
public int getDay()
- Returns:
- the Day
setDay
public void setDay(int Day)
- Parameters:
Day
- the Day to set
getStartDay
public int getStartDay()
- Returns:
- the StartDay
setStartDay
public void setStartDay(int StartDay)
- Parameters:
StartDay
- the StartDay to set
getMaxZombieCountStart
public float getMaxZombieCountStart()
- Returns:
- the MaxZombieCountStart
setMaxZombieCountStart
public void setMaxZombieCountStart(float MaxZombieCountStart)
- Parameters:
MaxZombieCountStart
- the MaxZombieCountStart to set
getMinZombieCountStart
public float getMinZombieCountStart()
- Returns:
- the MinZombieCountStart
setMinZombieCountStart
public void setMinZombieCountStart(float MinZombieCountStart)
- Parameters:
MinZombieCountStart
- the MinZombieCountStart to set
getMaxZombieCount
public float getMaxZombieCount()
- Returns:
- the MaxZombieCount
setMaxZombieCount
public void setMaxZombieCount(float MaxZombieCount)
- Parameters:
MaxZombieCount
- the MaxZombieCount to set
getMinZombieCount
public float getMinZombieCount()
- Returns:
- the MinZombieCount
setMinZombieCount
public void setMinZombieCount(float MinZombieCount)
- Parameters:
MinZombieCount
- the MinZombieCount to set
getMonth
public int getMonth()
- Returns:
- the Month
setMonth
public void setMonth(int Month)
- Parameters:
Month
- the Month to set
getStartMonth
public int getStartMonth()
- Returns:
- the StartMonth
setStartMonth
public void setStartMonth(int StartMonth)
- Parameters:
StartMonth
- the StartMonth to set
getNightTint
public float getNightTint()
- Returns:
- the NightTint
setNightTint
public void setNightTint(float NightTint)
- Parameters:
NightTint
- the NightTint to set
getNight
public float getNight()
- Returns:
- the NightTint
setNight
public void setNight(float NightTint)
- Parameters:
NightTint
- the NightTint to set
getTimeOfDay
public float getTimeOfDay()
- Returns:
- the TimeOfDay
setTimeOfDay
public void setTimeOfDay(float TimeOfDay)
- Parameters:
TimeOfDay
- the TimeOfDay to set
getStartTimeOfDay
public float getStartTimeOfDay()
- Returns:
- the StartTimeOfDay
setStartTimeOfDay
public void setStartTimeOfDay(float StartTimeOfDay)
- Parameters:
StartTimeOfDay
- the StartTimeOfDay to set
getViewDist
public float getViewDist()
- Returns:
- the ViewDist
setViewDist
public void setViewDist(float ViewDist)
- Parameters:
ViewDist
- the ViewDist to set
getViewDistMax
public float getViewDistMax()
- Returns:
- the ViewDistMax
setViewDistMax
public void setViewDistMax(float ViewDistMax)
- Parameters:
ViewDistMax
- the ViewDistMax to set
getViewDistMin
public float getViewDistMin()
- Returns:
- the ViewDistMin
setViewDistMin
public void setViewDistMin(float ViewDistMin)
- Parameters:
ViewDistMin
- the ViewDistMin to set
getYear
public int getYear()
- Returns:
- the Year
setYear
public void setYear(int Year)
- Parameters:
Year
- the Year to set
getStartYear
public int getStartYear()
- Returns:
- the StartYear
setStartYear
public void setStartYear(int StartYear)
- Parameters:
StartYear
- the StartYear to set
getNightsSurvived
public int getNightsSurvived()
- Returns:
- the NightsSurvived
setNightsSurvived
public void setNightsSurvived(int NightsSurvived)
- Parameters:
NightsSurvived
- the NightsSurvived to set
getHoursSurvived
public double getHoursSurvived()
- Returns:
- the HoursSurvived
setHoursSurvived
public void setHoursSurvived(double HoursSurvived)
- Parameters:
HoursSurvived
- the HoursSurvived to set
getCalender
public java.util.GregorianCalendar getCalender()
- Returns:
- the Calender
setCalender
public void setCalender(java.util.GregorianCalendar Calender)
- Parameters:
Calender
- the Calender to set
getMinutesPerDay
public float getMinutesPerDay()
- Returns:
- the MinutesPerDay
setMinutesPerDay
public void setMinutesPerDay(float MinutesPerDay)
- Parameters:
MinutesPerDay
- the MinutesPerDay to set
getSleepMultiplier
public float getSleepMultiplier()
- Returns:
- the SleepMultiplier
setSleepMultiplier
public void setSleepMultiplier(float SleepMultiplier)
- Parameters:
SleepMultiplier
- the SleepMultiplier to set
getLastTimeOfDay
public float getLastTimeOfDay()
- Returns:
- the LastTimeOfDay
setLastTimeOfDay
public void setLastTimeOfDay(float LastTimeOfDay)
- Parameters:
LastTimeOfDay
- the LastTimeOfDay to set
getTargetZombies
public int getTargetZombies()
- Returns:
- the TargetZombies
setTargetZombies
public void setTargetZombies(int TargetZombies)
- Parameters:
TargetZombies
- the TargetZombies to set
getLastCookMinute
public int getLastCookMinute()
- Returns:
- the LastCookMinute
setLastCookMinute
public void setLastCookMinute(int LastCookMinute)
- Parameters:
LastCookMinute
- the LastCookMinute to set
isRainingToday
public boolean isRainingToday()
- Returns:
- the RainingToday
setRainingToday
public void setRainingToday(boolean RainingToday)
- Parameters:
RainingToday
- the RainingToday to set
getMultiplier
public float getMultiplier()
- Returns:
- the Multiplier
getUnmoddedMultiplier
public float getUnmoddedMultiplier()
getInvMultiplier
public float getInvMultiplier()
getTrueMultiplier
public float getTrueMultiplier()
setMultiplier
public void setMultiplier(float Multiplier)
- Parameters:
Multiplier
- the Multiplier to set
save
public void save(java.io.DataOutputStream output)
throws java.io.IOException
- Throws:
java.io.IOException
load
public void load(java.io.DataInputStream input)
throws java.io.IOException
- Throws:
java.io.IOException
getDawn
public int getDawn()
setDawn
public void setDawn(int dawn)
getDusk
public int getDusk()
setDusk
public void setDusk(int dusk)
getModData
public se.krka.kahlua.vm.KahluaTable getModData()