|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface MineralMap
Interface for mineral maps of Mars.
| Method Summary | |
|---|---|
Coordinates |
findRandomMineralLocation(Coordinates startingLocation,
double range)
Finds a random location with mineral concentrations from a starting location and within a distance range. |
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. |
| Method Detail |
|---|
double getMineralConcentration(java.lang.String mineralType,
Coordinates location)
mineralType - the mineral type (see MineralMap.java)location - the coordinate location.
java.util.Map<java.lang.String,java.lang.Double> getAllMineralConcentrations(Coordinates location)
location - the coordinate location.
java.lang.String[] getMineralTypeNames()
Coordinates findRandomMineralLocation(Coordinates startingLocation,
double range)
startingLocation - the starting location.range - the distance range (km).
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||