|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mars_sim.msp.simulation.person.ai.mission.NavPoint
public class NavPoint
A navigation point for travel missions.
Constructor Summary | |
---|---|
NavPoint(Coordinates location,
Settlement settlement,
java.lang.String description)
Constructor with location and settlement. |
|
NavPoint(Coordinates location,
java.lang.String description)
Constructor with location. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object object)
Checks if this NavPoint is the same as another object. |
java.lang.String |
getDescription()
Gets the description of the navpoint. |
Coordinates |
getLocation()
Gets the location of this navpoint. |
Settlement |
getSettlement()
Gets the settlement at the navpoint. |
int |
hashCode()
Gets the hash code for this object. |
boolean |
isSettlementAtNavpoint()
Checks if there is a settlement at this navpoint. |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NavPoint(Coordinates location, java.lang.String description)
location
- the location of the navpoint.description
- the navpoint description.public NavPoint(Coordinates location, Settlement settlement, java.lang.String description)
location
- the location of the navpoint.settlement
- the settlement at the navpoint.description
- the navpoint description.Method Detail |
---|
public Coordinates getLocation()
public java.lang.String getDescription()
public Settlement getSettlement()
public boolean isSettlementAtNavpoint()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |