universe.client.database
Class SystemView
java.lang.Object
|
+--universe.client.database.DatabaseObjectView
|
+--universe.client.database.SystemView
- All Implemented Interfaces:
- java.io.Serializable
- public class SystemView
- extends DatabaseObjectView
- Version:
- $Id: SystemView.java,v 1.7 2003/04/04 00:52:07 sstarkey Exp $
This class represents a client's view of a system.
- Author:
- Sean Starkey
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
private java.lang.String name
coord_location
private Coord coord_location
GID
private GalaxyID GID
planets
private java.util.Vector planets
starMakeup
private SimpleAccrete.StarMakeup starMakeup
myStars
private java.util.Vector myStars
SystemView
public SystemView(Index index,
GalaxyID GID,
java.lang.String name,
Coord coord,
java.util.Vector planets,
SimpleAccrete.StarMakeup sm,
java.util.Vector stars)
getGalaxyID
public GalaxyID getGalaxyID()
getName
public java.lang.String getName()
getCoords
public Coord getCoords()
- Returns the three-space coordinates of the system instance
within the galaxy to which it belongs.
getPlanets
public java.util.Enumeration getPlanets()
getLocation
public Location getLocation()
getStarMakeup
public SimpleAccrete.StarMakeup getStarMakeup()
- Returns the stellar make-up of the primary star in the
receiving system instance.
starAtIndex
public Star starAtIndex(int index)
Copyright © 2001 Universe Dev Team All Rights Reserved.