|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.mars_sim.msp.simulation.mars.ExploredLocation
public class ExploredLocation
A class representing an explored location. It contains information on estimated mineral concentrations and if it has been mined or not. Perhaps later we can add more information related to exploration, such as evidence for life.
Method Summary | |
---|---|
java.util.Map<java.lang.String,java.lang.Double> |
getEstimatedMineralConcentrations()
Gets a map of estimated mineral concentrations at the location. |
Coordinates |
getLocation()
Gets the location coordinates. |
Settlement |
getSettlement()
The settlement that explored this site. |
boolean |
isExplored()
Checks if the location has been explored of not. |
boolean |
isMined()
Checks if the location has been mined or not. |
boolean |
isReserved()
Checks if the location has been reserved for mining. |
void |
setExplored(boolean explored)
Sets if the location has been explored or not. |
void |
setMined(boolean mined)
Sets if the location has been mined or not. |
void |
setReserved(boolean reserved)
Sets if the location has been reserved for mining. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public Coordinates getLocation()
public java.util.Map<java.lang.String,java.lang.Double> getEstimatedMineralConcentrations()
public void setMined(boolean mined)
mined
- true if mined.public boolean isMined()
public void setExplored(boolean explored)
explored
- true if explored.public boolean isExplored()
public void setReserved(boolean reserved)
reserved
- true if reserved.public boolean isReserved()
public Settlement getSettlement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |