org.gjt.universe
Class TemperatureType
java.lang.Object
|
+--org.gjt.universe.Classification
|
+--org.gjt.universe.TemperatureType
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- TemperatureType.CoolTemperatureType, TemperatureType.ExtremeTemperatureType, TemperatureType.GlacialTemperatureType, TemperatureType.HotTemperatureType, TemperatureType.InfernalTemperatureType, TemperatureType.NormalTemperatureType
- public abstract class TemperatureType
- extends Classification
- See Also:
- Serialized Form
Constructor Summary |
protected |
TemperatureType(java.lang.String aName,
java.lang.String aBackStory)
This constructor is used to construct instances of
this class. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
allInstances
private static java.util.Vector allInstances
NORMAL
public static TemperatureType NORMAL
COOL
public static TemperatureType COOL
GLACIAL
public static TemperatureType GLACIAL
HOT
public static TemperatureType HOT
INFERNO
public static TemperatureType INFERNO
EXTREME
public static TemperatureType EXTREME
EARTH_MIN_TEMP
public static float EARTH_MIN_TEMP
EARTH_MAX_TEMP
public static float EARTH_MAX_TEMP
EARTH_AVG_TEMP
public static float EARTH_AVG_TEMP
TemperatureType
protected TemperatureType(java.lang.String aName,
java.lang.String aBackStory)
- This constructor is used to construct instances of
this class. It should not be necessary for callers
to invoke this directly, since all temperature types should
be created automatically.
- Parameters:
aName
- The short localized name of the temperature type.aBackStory
- A localized description of the temperature type.
instanceForMakeup
public static TemperatureType instanceForMakeup(SimpleAccrete.PlanetaryMakeup aMakeup)
- This class method returns the temperature type instance
which best matches the given planetary make-up.
- Parameters:
aMakeup
- A planetary make-up to be matched against.
Copyright © 2001 Universe Dev Team All Rights Reserved.