org.gjt.universe
Class KnowledgeShip

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

class KnowledgeShip
extends KnowledgeBase


Field Summary
private  ShipID shipID
           
 
Fields inherited from class org.gjt.universe.KnowledgeBase
 
Constructor Summary
private KnowledgeShip(ShipID HID)
           
 
Method Summary
(package private)  void createSubKnowledge()
          This method is called when a new knowledge is created.
(package private)  ShipID getShipID()
           
(package private) static KnowledgeID newKnowledge(CivID AID, ShipID HID)
           
(package private)  void setShipID(ShipID new_HID)
           
 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

shipID

private ShipID shipID
Constructor Detail

KnowledgeShip

private KnowledgeShip(ShipID HID)
Method Detail

newKnowledge

static KnowledgeID newKnowledge(CivID AID,
                                ShipID HID)

specificDisplayDebug

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

getShipID

ShipID getShipID()

setShipID

void setShipID(ShipID new_HID)

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.