universe.server.database
Class SystemGliese
java.lang.Object
|
+--universe.common.database.DBItem
|
+--universe.server.database.SystemBase
|
+--universe.server.database.SystemStd
|
+--universe.server.database.SystemGliese
- All Implemented Interfaces:
- java.io.Serializable
- class SystemGliese
- extends SystemStd
This class implements a special star system object
which represents Earth's solar system, with its known
set of planets and their moons.
An instance of this class is automatically created
for the Sol system by the GalaxyGliese object.
- Author:
- Sean Starkey, Allan Noordvyk
- See Also:
GalaxyGliese
Fields inherited from class universe.server.database.SystemBase |
|
Method Summary |
private static SimpleAccrete.PlanetaryMakeup |
createMakeUpForPlanet(int planet)
This method sets the given planetary make-up object to have values
corresponding to the planet at the given position in the set of
those which will be present in the star system. |
Methods inherited from class universe.server.database.SystemBase |
addPlanet, addStar, generatePlanetsForStar, getCoords, getFleetsInOrbit, getFleetsPresent, getGalaxy, getID, getIndex, getName, getOwner, getStarMakeup, getStars, getSystemPlanets, getWormholeIDs, planetChangedOwner, setName, setOwner, setStarMakeup, starAtIndex, starCount |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
planet_count
private static final int planet_count
- See Also:
- Constant Field Values
MERCURY
private static final int MERCURY
- See Also:
- Constant Field Values
VENUS
private static final int VENUS
- See Also:
- Constant Field Values
EARTH
private static final int EARTH
- See Also:
- Constant Field Values
LUNA
private static final int LUNA
- See Also:
- Constant Field Values
MARS
private static final int MARS
- See Also:
- Constant Field Values
PHOBOS
private static final int PHOBOS
- See Also:
- Constant Field Values
DEIMOS
private static final int DEIMOS
- See Also:
- Constant Field Values
JUPITER
private static final int JUPITER
- See Also:
- Constant Field Values
METIS
private static final int METIS
- See Also:
- Constant Field Values
ADRASTEA
private static final int ADRASTEA
- See Also:
- Constant Field Values
AMALTHEA
private static final int AMALTHEA
- See Also:
- Constant Field Values
THEBE
private static final int THEBE
- See Also:
- Constant Field Values
IO
private static final int IO
- See Also:
- Constant Field Values
EUROPA
private static final int EUROPA
- See Also:
- Constant Field Values
GANYMEDE
private static final int GANYMEDE
- See Also:
- Constant Field Values
CALLISTO
private static final int CALLISTO
- See Also:
- Constant Field Values
LEDA
private static final int LEDA
- See Also:
- Constant Field Values
HIMALIA
private static final int HIMALIA
- See Also:
- Constant Field Values
LYSITHEA
private static final int LYSITHEA
- See Also:
- Constant Field Values
ELARA
private static final int ELARA
- See Also:
- Constant Field Values
ANANKE
private static final int ANANKE
- See Also:
- Constant Field Values
CARME
private static final int CARME
- See Also:
- Constant Field Values
PASIPHAE
private static final int PASIPHAE
- See Also:
- Constant Field Values
SINOPE
private static final int SINOPE
- See Also:
- Constant Field Values
SATURN
private static final int SATURN
- See Also:
- Constant Field Values
URANUS
private static final int URANUS
- See Also:
- Constant Field Values
NEPTUNE
private static final int NEPTUNE
- See Also:
- Constant Field Values
PLUTO
private static final int PLUTO
- See Also:
- Constant Field Values
CHARON
private static final int CHARON
- See Also:
- Constant Field Values
planet_names
private static final java.lang.String[] planet_names
mass
private static final double[] mass
radius
private static final double[] radius
orbital_radius
private static final double[] orbital_radius
density
private static final double[] density
orb_period
private static final double[] orb_period
day
private static final double[] day
surf_grav
private static final double[] surf_grav
GH2
private static final double[] GH2
GH2O
private static final double[] GH2O
GN2
private static final double[] GN2
GO2
private static final double[] GO2
GCO2
private static final double[] GCO2
surf_pressure
private static final double[] surf_pressure
boil_point
private static final double[] boil_point
albedo
private static final double[] albedo
min_temp
private static final double[] min_temp
max_temp
private static final double[] max_temp
avg_temp
private static final double[] avg_temp
hydrosphere
private static final double[] hydrosphere
cloud_cover
private static final double[] cloud_cover
ice_cover
private static final double[] ice_cover
plan_class
private static final char[] plan_class
planet_makeups
private static SimpleAccrete.PlanetaryMakeup[] planet_makeups
SystemGliese
public SystemGliese(GalaxyID GID,
Coord coord,
SimpleAccrete.StarMakeup sm)
throws SchemeUnknownException
- The designated constructor for instances of this class.
Since all of the other attributes of the Sol system are
known, only the ID of the galaxy containing the system
need be specified.
- Parameters:
GID
- The unique ID of the milky way galaxy in the game.coord
- The coordinates of the system within that galaxy.sm
- The stellar make-up of Sol (expect G2, but can be tweaked if desired).
createMakeUpForPlanet
private static SimpleAccrete.PlanetaryMakeup createMakeUpForPlanet(int planet)
- This method sets the given planetary make-up object to have values
corresponding to the planet at the given position in the set of
those which will be present in the star system.
- Parameters:
planet
- Index of the planet in the set of those to be created.
Copyright © 2001 Universe Dev Team All Rights Reserved.