org.gjt.universe
Class SystemStd

java.lang.Object
  |
  +--org.gjt.universe.DBItem
        |
        +--org.gjt.universe.SystemBase
              |
              +--org.gjt.universe.SystemStd
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
SystemGliese

class SystemStd
extends SystemBase

A concrete class with constructors which allow creation of planets using the accrete planetary make-up model.

Author:
Sean Starkey, Allan Noordvyk (noordvyk@home.com)

Field Summary
 
Fields inherited from class org.gjt.universe.SystemBase
 
Constructor Summary
private SystemStd()
          Don't allow default constructor
  SystemStd(GalaxyID in_galID, java.lang.String in_name, Coord in_coord, SimpleAccrete.PlanetaryMakeup[] pms, SimpleAccrete.StarMakeup sm)
          Alternate constructor for instances of this class.
  SystemStd(GalaxyID in_galID, java.lang.String in_name, Coord in_coord, SimpleAccrete.StarMakeup sm)
          Designated constructor for instances of this class.
 
Method Summary
 VectorDisplayReturn specificDisplayDebug()
          Returns debugging information.
 
Methods inherited from class org.gjt.universe.SystemBase
addStar, fleetArrived, fleetDeparted, generatePlanetsForStar, getCoords, getFleetsInOrbit, getFleetsPresent, getGalaxy, getID, getID, getIndex, getLocation, getName, getOwner, getStarMakeup, getSystemPlanets, getWormholeIDs, insertPlanet, insertWormholeID, planetChangedOwner, removeWormholeID, setName, setOwner, setStarMakeup, starAtIndex, starCount
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemStd

public SystemStd(GalaxyID in_galID,
                 java.lang.String in_name,
                 Coord in_coord,
                 SimpleAccrete.StarMakeup sm)
          throws SchemeUnknownException
Designated constructor for instances of this class. Returns a single-star system with no planets.

Parameters:
in_galID - The ID of the galaxy to which the system belongs.
in_name - The name of the system.
in_coord - The coordinates of the system within its galaxy.
sm - Stellar make-up of system's star.
Throws:
SchemeUnkownException - When scheme is unable to generate necessary objects.
SchemeUnknownException

SystemStd

public SystemStd(GalaxyID in_galID,
                 java.lang.String in_name,
                 Coord in_coord,
                 SimpleAccrete.PlanetaryMakeup[] pms,
                 SimpleAccrete.StarMakeup sm)
          throws SchemeUnknownException
Alternate constructor for instances of this class. Returns a single-star system with planets matching the given planetary make-up.

Parameters:
in_galID - The ID of the galaxy to which the system belongs.
in_name - The name of the system.
in_coord - The coordinates of the system within its galaxy.
pms - Planetary make-up information.
sm - Stellar make-up of system's star.
Throws:
SchemeUnkownException - When scheme is unable to generate necessary objects.
SchemeUnknownException

SystemStd

private SystemStd()
Don't allow default constructor

Method Detail

specificDisplayDebug

public VectorDisplayReturn specificDisplayDebug()
Returns debugging information.

Specified by:
specificDisplayDebug in class DBItem


Copyright © 2001 Universe Dev Team All Rights Reserved.