|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mars_sim.msp.simulation.mars.Landmark
public class Landmark
The Landmark class represents a surface landmark on virtual Mars. It contains information related to the landmark.
Constructor Summary | |
---|---|
Landmark(java.lang.String name,
Coordinates location)
Constructs a landmark object with the given name at the given location. |
Method Summary | |
---|---|
Coordinates |
getLandmarkLocation()
Gets the landmark location. |
java.lang.String |
getLandmarkName()
Gets the landmark name. |
void |
setLandmarkLocation(Coordinates landmarkLocation)
Sets the landmark location. |
void |
setLandmarkName(java.lang.String landmarkName)
Sets the landmark name. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Landmark(java.lang.String name, Coordinates location)
name
- name of the landmarklocation
- location of the landmarkMethod Detail |
---|
public void setLandmarkName(java.lang.String landmarkName)
landmarkName
- name of the landmarkpublic void setLandmarkLocation(Coordinates landmarkLocation)
landmarkLocation
- location of the landmarkpublic java.lang.String getLandmarkName()
public Coordinates getLandmarkLocation()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |