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 classTemperature.PlayerTempVars -
Field Summary
Fields Modifier and Type Field Description static floatBodyMaxTempstatic floatBodyMinTempstatic java.lang.StringCELSIUS_POSTFIXstatic booleanDO_DAYLEN_MODstatic booleanDO_DEFAULT_BASEstatic java.lang.StringFAHRENHEIT_POSTFIXstatic floatHyperthermia_1static floatHyperthermia_2static floatHyperthermia_3static floatHyperthermia_4static floatHypothermia_1static floatHypothermia_2static floatHypothermia_3static floatHypothermia_4 -
Constructor Summary
Constructors Constructor Description Temperature() -
Method Summary
Modifier and Type Method Description static floatCelsiusToFahrenheit(float float1)static floatFahrenheitToCelsius(float float1)static java.lang.StringgetCelsiusPostfix()static java.lang.StringgetFahrenheitPostfix()static floatgetFractionForRealTimeRatePerMin(float float1)static Temperature.PlayerTempVarsgetPlayerTemperatureVars(IsoPlayer player)static java.lang.StringgetTemperaturePostfix()static java.lang.StringgetTemperatureString(float float1)static voidreset()static voidupdatePlayerTemperature(int int1, IsoPlayer player)static voidupdateTemperatureForAllPlayers()static floatWindchillCelsiusKph(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
-