cad.simcad.worldsimulator.world.terrain
Class TerrainType

java.lang.Object
  |
  +--cad.simcad.worldsimulator.world.terrain.TerrainType
All Implemented Interfaces:
Filler, java.io.Serializable

public class TerrainType
extends java.lang.Object
implements Filler, java.io.Serializable

Base class for all Terrains

Version:
1.0
Author:
Charles-Philip Bentley
See Also:
Serialized Form

Constructor Summary
TerrainType(EnvType envType)
          Creates new TerrainType
TerrainType(java.lang.Object envType)
           
 
Method Summary
 java.lang.String getClassName()
          Returns the generic name for the filler
 int getId()
           
 java.lang.String getName()
           
 boolean isTotalBlock()
          Tells if
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TerrainType

public TerrainType(EnvType envType)
Creates new TerrainType


TerrainType

public TerrainType(java.lang.Object envType)
Method Detail

getName

public java.lang.String getName()
Specified by:
getName in interface Filler

getId

public int getId()
Specified by:
getId in interface Filler

getClassName

public java.lang.String getClassName()
Description copied from interface: Filler
Returns the generic name for the filler

Specified by:
getClassName in interface Filler

isTotalBlock

public boolean isTotalBlock()
Description copied from interface: Filler
Tells if

Specified by:
isTotalBlock in interface Filler

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Logo

With the help of www.sourceforge.net and www.info.ucl.ac.be