|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--game.geography.physical.AbstractTerrain
|
+--game.geography.physical.Artifact
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 |
public Artifact(java.lang.String _name,
java.lang.String imageName)
| Method Detail |
public java.lang.String getName()
getName in class AbstractTerrain
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||