Package zombie.iso.weather
Class Temperature
java.lang.Object
zombie.iso.weather.Temperature
public class Temperature
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Temperature.PlayerTempVars
-
Field Summary
Fields Modifier and Type Field Description static float
BodyMaxTemp
static float
BodyMinTemp
static java.lang.String
CELSIUS_POSTFIX
static boolean
DO_DAYLEN_MOD
static boolean
DO_DEFAULT_BASE
static java.lang.String
FAHRENHEIT_POSTFIX
static float
Hyperthermia_1
static float
Hyperthermia_2
static float
Hyperthermia_3
static float
Hyperthermia_4
static float
Hypothermia_1
static float
Hypothermia_2
static float
Hypothermia_3
static float
Hypothermia_4
-
Constructor Summary
Constructors Constructor Description Temperature()
-
Method Summary
Modifier and Type Method Description static float
CelsiusToFahrenheit(float float1)
static float
FahrenheitToCelsius(float float1)
static java.lang.String
getCelsiusPostfix()
static java.lang.String
getFahrenheitPostfix()
static float
getFractionForRealTimeRatePerMin(float float1)
static Temperature.PlayerTempVars
getPlayerTemperatureVars(IsoPlayer player)
static java.lang.String
getTemperaturePostfix()
static java.lang.String
getTemperatureString(float float1)
static void
reset()
static void
updatePlayerTemperature(int int1, IsoPlayer player)
static void
updateTemperatureForAllPlayers()
static float
WindchillCelsiusKph(float float1, float float2)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
DO_DEFAULT_BASE
public static boolean DO_DEFAULT_BASE -
DO_DAYLEN_MOD
public static boolean DO_DAYLEN_MOD -
CELSIUS_POSTFIX
public static java.lang.String CELSIUS_POSTFIX -
FAHRENHEIT_POSTFIX
public static java.lang.String FAHRENHEIT_POSTFIX -
Hypothermia_1
public static final float Hypothermia_1- See Also:
- Constant Field Values
-
Hypothermia_2
public static final float Hypothermia_2- See Also:
- Constant Field Values
-
Hypothermia_3
public static final float Hypothermia_3- See Also:
- Constant Field Values
-
Hypothermia_4
public static final float Hypothermia_4- See Also:
- Constant Field Values
-
Hyperthermia_1
public static final float Hyperthermia_1- See Also:
- Constant Field Values
-
Hyperthermia_2
public static final float Hyperthermia_2- See Also:
- Constant Field Values
-
Hyperthermia_3
public static final float Hyperthermia_3- See Also:
- Constant Field Values
-
Hyperthermia_4
public static final float Hyperthermia_4- See Also:
- Constant Field Values
-
BodyMinTemp
public static final float BodyMinTemp- See Also:
- Constant Field Values
-
BodyMaxTemp
public static final float BodyMaxTemp- See Also:
- Constant Field Values
-
-
Constructor Details
-
Temperature
public Temperature()
-
-
Method Details
-
getCelsiusPostfix
public static java.lang.String getCelsiusPostfix() -
getFahrenheitPostfix
public static java.lang.String getFahrenheitPostfix() -
getTemperaturePostfix
public static java.lang.String getTemperaturePostfix() -
getTemperatureString
public static java.lang.String getTemperatureString(float float1) -
CelsiusToFahrenheit
public static float CelsiusToFahrenheit(float float1) -
FahrenheitToCelsius
public static float FahrenheitToCelsius(float float1) -
WindchillCelsiusKph
public static float WindchillCelsiusKph(float float1, float float2) -
reset
public static void reset() -
getFractionForRealTimeRatePerMin
public static float getFractionForRealTimeRatePerMin(float float1) -
getPlayerTemperatureVars
-
updateTemperatureForAllPlayers
public static void updateTemperatureForAllPlayers() -
updatePlayerTemperature
-