org.gjt.universe
Class SystemUndefined

java.lang.Object
  |
  +--org.gjt.universe.DBItem
        |
        +--org.gjt.universe.SystemBase
              |
              +--org.gjt.universe.SystemUndefined
All Implemented Interfaces:
java.io.Serializable

public final class SystemUndefined
extends SystemBase

See Also:
Serialized Form

Field Summary
static SystemID ID
           
static SystemUndefined SINGLETON
           
 
Fields inherited from class org.gjt.universe.SystemBase
 
Constructor Summary
private SystemUndefined()
           
 
Method Summary
 VectorPlanetID getSystemPlanets()
          Returns the planets which are orbitting the system instance.
 void insertPlanet(PlanetID PID)
          Adds a new planet with the given ID to the system instance.
 VectorDisplayReturn specificDisplayDebug()
           
 
Methods inherited from class org.gjt.universe.SystemBase
addStar, fleetArrived, fleetDeparted, generatePlanetsForStar, getCoords, getFleetsInOrbit, getFleetsPresent, getGalaxy, getID, getID, getIndex, getLocation, getName, getOwner, getStarMakeup, getWormholeIDs, 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
 

Field Detail

SINGLETON

public static SystemUndefined SINGLETON

ID

public static SystemID ID
Constructor Detail

SystemUndefined

private SystemUndefined()
Method Detail

specificDisplayDebug

public VectorDisplayReturn specificDisplayDebug()
Specified by:
specificDisplayDebug in class DBItem

getSystemPlanets

public VectorPlanetID getSystemPlanets()
Returns the planets which are orbitting the system instance. The planet objects in the returned vector will be given in ascending order of distance from their primary. Returns null if the system has no planets.

Overrides:
getSystemPlanets in class SystemBase

insertPlanet

public void insertPlanet(PlanetID PID)
Adds a new planet with the given ID to the system instance.

Overrides:
insertPlanet in class SystemBase
Parameters:
PID - The unique ID of the planet to be added. NOTE: Check if this this method called anywhere? Maybe from PlanetBase?


Copyright © 2001 Universe Dev Team All Rights Reserved.