|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.mars_sim.msp.simulation.mars.RandomMineralMap
public class RandomMineralMap
A randomly generated mineral map of Mars.
| Method Summary | |
|---|---|
java.util.Map<java.lang.String,java.lang.Double> |
getAllMineralConcentrations(Coordinates location)
Gets all of the mineral concentrations at a given location. |
double |
getMineralConcentration(java.lang.String mineralType,
Coordinates location)
Gets the mineral concentration at a given location. |
java.lang.String[] |
getMineralTypeNames()
Gets an array of all mineral type names. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public java.util.Map<java.lang.String,java.lang.Double> getAllMineralConcentrations(Coordinates location)
getAllMineralConcentrations in interface MineralMaplocation - the coordinate location.
public double getMineralConcentration(java.lang.String mineralType,
Coordinates location)
getMineralConcentration in interface MineralMapmineralType - the mineral type (see MineralMap.java)location - the coordinate location.
public java.lang.String[] getMineralTypeNames()
getMineralTypeNames in interface MineralMap
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||