jfreerails.world.terrain
Class NullTerrainType
java.lang.Object
jfreerails.world.terrain.NullTerrainType
- All Implemented Interfaces:
- java.io.Serializable, FreerailsSerializable, TerrainType
public class NullTerrainType
- extends java.lang.Object
- implements TerrainType
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final TerrainType INSTANCE
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
NullTerrainType
private NullTerrainType()
getProduction
public ImList<Production> getProduction()
- Specified by:
getProduction in interface TerrainType
getConsumption
public ImList<Consumption> getConsumption()
- Specified by:
getConsumption in interface TerrainType
getConversion
public ImList<Conversion> getConversion()
- Specified by:
getConversion in interface TerrainType
getTerrainTypeName
public java.lang.String getTerrainTypeName()
- Specified by:
getTerrainTypeName in interface TerrainType
getCategory
public TerrainType.Category getCategory()
- Specified by:
getCategory in interface TerrainType
getRGB
public int getRGB()
- Specified by:
getRGB in interface TerrainType
getRightOfWay
public int getRightOfWay()
- Specified by:
getRightOfWay in interface TerrainType
getDisplayName
public java.lang.String getDisplayName()
- Specified by:
getDisplayName in interface TerrainType
readResolve
private java.lang.Object readResolve()
throws java.io.ObjectStreamException
- Throws:
java.io.ObjectStreamException
getBuildCost
public Money getBuildCost()
- Specified by:
getBuildCost in interface TerrainType