cad.simcad.worldsimulator.world.terrain
Class TerrainTypeProducer

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

public class TerrainTypeProducer
extends java.lang.Object
implements FillerServer

Every map should have its TerrainTypeProducer

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

Constructor Summary
TerrainTypeProducer()
          Creates new TerrainTypeProducer
 
Method Summary
 Filler[] getAllFillers()
           
 java.util.Enumeration getAllFillersNameEnum()
           
 TerrainType getBlankTerrainType()
           
 Filler getDefaultFiller()
           
 Filler getFiller(int id)
           
 Filler getFiller(java.lang.String name)
           
 TerrainType getTerrainType(java.lang.Integer i)
           
 TerrainType[] getTerrainTypes()
           
 TerrainType getVoidTerrainType()
           
 void loadIdToNames()
           
 void loadInformation()
           
static void main(java.lang.String[] arg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TerrainTypeProducer

public TerrainTypeProducer()
Creates new TerrainTypeProducer

Method Detail

getBlankTerrainType

public TerrainType getBlankTerrainType()

getVoidTerrainType

public TerrainType getVoidTerrainType()

getTerrainType

public TerrainType getTerrainType(java.lang.Integer i)
                           throws TerrainTypeControlerException
TerrainTypeControlerException

getTerrainTypes

public TerrainType[] getTerrainTypes()

loadInformation

public void loadInformation()

loadIdToNames

public void loadIdToNames()

main

public static void main(java.lang.String[] arg)

getDefaultFiller

public Filler getDefaultFiller()
Specified by:
getDefaultFiller in interface FillerServer

getAllFillersNameEnum

public java.util.Enumeration getAllFillersNameEnum()

getAllFillers

public Filler[] getAllFillers()
Specified by:
getAllFillers in interface FillerServer

getFiller

public Filler getFiller(java.lang.String name)
Specified by:
getFiller in interface FillerServer

getFiller

public Filler getFiller(int id)
Specified by:
getFiller in interface FillerServer

Logo

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