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

Field Summary
private static int ADRASTEA
           
private static double[] albedo
           
private static int AMALTHEA
           
private static int ANANKE
           
private static double[] avg_temp
           
private static double[] boil_point
           
private static int CALLISTO
           
private static int CARME
           
private static int CHARON
           
private static double[] cloud_cover
           
private static double[] day
           
private static int DEIMOS
           
private static double[] density
           
private static int EARTH
           
private static int ELARA
           
private static int EUROPA
           
private static int GANYMEDE
           
private static double[] GCO2
           
private static double[] GH2
           
private static double[] GH2O
           
private static double[] GN2
           
private static double[] GO2
           
private static int HIMALIA
           
private static double[] hydrosphere
           
private static double[] ice_cover
           
private static int IO
           
private static int JUPITER
           
private static int LEDA
           
private static int LUNA
           
private static int LYSITHEA
           
private static int MARS
           
private static double[] mass
           
private static double[] max_temp
           
private static int MERCURY
           
private static int METIS
           
private static double[] min_temp
           
private static int NEPTUNE
           
private static double[] orb_period
           
private static double[] orbital_radius
           
private static int PASIPHAE
           
private static int PHOBOS
           
private static char[] plan_class
           
private static int planet_count
           
private static SimpleAccrete.PlanetaryMakeup[] planet_makeups
           
private static java.lang.String[] planet_names
           
private static int PLUTO
           
private static double[] radius
           
private static int SATURN
           
private static int SINOPE
           
private static double[] surf_grav
           
private static double[] surf_pressure
           
private static int THEBE
           
private static int URANUS
           
private static int VENUS
           
 
Fields inherited from class universe.server.database.SystemBase
 
Constructor Summary
SystemGliese(GalaxyID GID, Coord coord, SimpleAccrete.StarMakeup sm)
          The designated constructor for instances of this class.
 
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
 

Field Detail

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
Constructor Detail

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).
Method Detail

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.