org.gjt.universe
Class KnowledgeStation

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

class KnowledgeStation
extends KnowledgeBase


Field Summary
private  StationID stationID
           
 
Fields inherited from class org.gjt.universe.KnowledgeBase
 
Constructor Summary
private KnowledgeStation(StationID station)
           
 
Method Summary
(package private)  void createSubKnowledge()
          This method is called when a new knowledge is created.
(package private)  StationID getStationID()
           
(package private) static KnowledgeID newKnowledge(CivID civ, StationID station)
           
(package private)  void setStationID(StationID new_stationID)
           
 VectorDisplayReturn specificDisplayDebug()
           
 
Methods inherited from class org.gjt.universe.KnowledgeBase
getAge, getID, getIndex, getName, getOwner, setOwner, updateAge
 
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

stationID

private StationID stationID
Constructor Detail

KnowledgeStation

private KnowledgeStation(StationID station)
Method Detail

newKnowledge

static KnowledgeID newKnowledge(CivID civ,
                                StationID station)

specificDisplayDebug

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

getStationID

StationID getStationID()

setStationID

void setStationID(StationID new_stationID)

createSubKnowledge

void createSubKnowledge()
Description copied from class: KnowledgeBase
This method is called when a new knowledge is created. Any related "sub"-knowledge objects will be created by this method. For example, if a Tech is discovered, then some other ModuleDesigns will be discovered by this method.

Specified by:
createSubKnowledge in class KnowledgeBase


Copyright © 2001 Universe Dev Team All Rights Reserved.