org.gjt.universe
Class CivUndefined

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

public final class CivUndefined
extends Civ

This class supports a single instance which is used to represent an unknown civ in situations where null can not be used.

See Also:
Serialized Form

Field Summary
static CivID ID
           
static CivUndefined SINGLETON
           
 
Fields inherited from class org.gjt.universe.Civ
resourceGroups, Results
 
Constructor Summary
private CivUndefined()
           
 
Method Summary
(package private)  void initializeThreads()
           
 VectorDisplayReturn specificDisplayDebug()
          Returns a display vector used for showing debug information.
 void Submit()
           
 
Methods inherited from class org.gjt.universe.Civ
addFleet, addResourceGroup, addShip, addShipDesign, addToGlobalResourceGroup, deleteResourceGroup, getAllFleets, getAllFleets, getAllPlanets, getAllShipDesigns, getAllShips, getAllStations, getExploredPlanets, getExploredSystems, getHomePlanet, getHomeSystem, getID, getIndex, getKnowledgeAlienMap, getKnowledgeFleetMap, getKnowledgeModuleDesignMap, getKnowledgePlanetMap, getKnowledgeShipDesignMap, getKnowledgeShipMap, getKnowledgeStationMap, getKnowledgeSystemMap, getKnowledgeTechMap, getName, getNextFleetNumber, getNextShipNumber, getOccupiedPlanets, getOccupiedStations, getOccupiedSystems, getOwnedFleets, getOwnedModuleDesigns, getOwnedShipDesigns, getOwnedShips, getOwnedTechs, getOwner, getPlayer, getRace, getResearchableTechs, getResourceGroups, getResourceGroups, getUnexploredSystems, removeFromGlobalResourceGroup, setHomePlanet, setHomeSystem, setName, setPlayer, setRace
 
Methods inherited from class org.gjt.universe.DBItem
getLocation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SINGLETON

public static CivUndefined SINGLETON

ID

public static CivID ID
Constructor Detail

CivUndefined

private CivUndefined()
Method Detail

Submit

public void Submit()

specificDisplayDebug

public VectorDisplayReturn specificDisplayDebug()
Description copied from class: Civ
Returns a display vector used for showing debug information.

Overrides:
specificDisplayDebug in class Civ
Returns:
A display vector.

initializeThreads

void initializeThreads()


Copyright © 2001 Universe Dev Team All Rights Reserved.