universe.server.database
Class SystemStd
java.lang.Object
|
+--universe.common.database.DBItem
|
+--universe.server.database.SystemBase
|
+--universe.server.database.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)
Fields inherited from class universe.server.database.SystemBase |
|
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 |
SystemStd
public SystemStd(GalaxyID in_galID,
java.lang.String in_name,
Coord in_coord,
SimpleAccrete.StarMakeup sm)
- 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.
SystemStd
public 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. 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.
SystemStd
private SystemStd()
- Don't allow default constructor
Copyright © 2001 Universe Dev Team All Rights Reserved.