game.geography.physical
Class Artifact

java.lang.Object
  |
  +--game.geography.physical.AbstractTerrain
        |
        +--game.geography.physical.Artifact

public abstract class Artifact
extends AbstractTerrain

A class indicating the available human built artifacts. Since these characteristics are unchanging, a static instance for each type is sufficient. Any required parameters (and their accessors) can be added.


Constructor Summary
Artifact(java.lang.String _name, java.lang.String imageName)
          Private constructor, cannot be instantiated outside this class.
 
Method Summary
 java.lang.String getName()
          Return the name of the artifact.
 
Methods inherited from class game.geography.physical.AbstractTerrain
getImage, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Artifact

public Artifact(java.lang.String _name,
                java.lang.String imageName)
Private constructor, cannot be instantiated outside this class.

Method Detail

getName

public java.lang.String getName()
Return the name of the artifact.

Overrides:
getName in class AbstractTerrain
Returns:
the name of the artifact.