universe.client.database
Class LocationConversion
java.lang.Object
|
+--universe.client.database.LocationConversion
- public final class LocationConversion
- extends java.lang.Object
The LocationConversion class is used to examine the contents of a
Location object based on the client's view of the database.
- Version:
- $Id: LocationConversion.java,v 1.1 2003/04/03 07:10:37 sstarkey Exp $
- See Also:
Location
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LocationConversion
public LocationConversion()
getPlanet
public static PlanetID getPlanet(Location loc)
getSystem
public static SystemID getSystem(Location loc)
getGalaxy
public static GalaxyID getGalaxy(Location loc)
getStation
public static StationID getStation(Location loc)
getContext
public static Index getContext(Location loc)
- Returns:
- the Index of the DBItem containing this location.
getCoords
public static Coord getCoords(Location loc)
toString
public static java.lang.String toString(Location loc)
Copyright © 2001 Universe Dev Team All Rights Reserved.