|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--game.geography.physical.AbstractTerrain
A class to provide general information for overlaid terrain.
| Constructor Summary | |
protected |
AbstractTerrain(java.lang.String _imageName)
Constructor. |
| Method Summary | |
java.awt.Image |
getImage()
Return the displayable image. |
java.lang.String |
getName()
Return the name. |
java.lang.String |
toString()
String representation. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
protected AbstractTerrain(java.lang.String _imageName)
_imageName - name of the image. Used when the image name and
terrain name are the same.| Method Detail |
public java.awt.Image getImage()
public java.lang.String getName()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||