org.gjt.universe
Class KnowledgeFleet

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

class KnowledgeFleet
extends KnowledgeBase


Field Summary
private  FleetID fleetID
           
private  Location location
           
 
Fields inherited from class org.gjt.universe.KnowledgeBase
 
Constructor Summary
private KnowledgeFleet(FleetID FID)
           
 
Method Summary
 void createSubKnowledge()
          This method is called when a new knowledge is created.
 FleetID getFleetID()
           
 Location getLocation()
          This method returns the last known location of this fleet (at time of age.) This is not necessarily where the fleet is actually located.
(package private) static KnowledgeID newKnowledge(CivID AID, FleetID FID)
           
(package private)  void setFleetID(FleetID new_FID)
           
 void setLocation(Location in_location)
           
 VectorDisplayReturn specificDisplayDebug()
           
 
Methods inherited from class org.gjt.universe.KnowledgeBase
getAge, getID, getIndex, getName, getOwner, setOwner, updateAge
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

fleetID

private FleetID fleetID

location

private Location location
Constructor Detail

KnowledgeFleet

private KnowledgeFleet(FleetID FID)
Method Detail

newKnowledge

static KnowledgeID newKnowledge(CivID AID,
                                FleetID FID)

specificDisplayDebug

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

getFleetID

public FleetID getFleetID()

setFleetID

void setFleetID(FleetID new_FID)

getLocation

public Location getLocation()
This method returns the last known location of this fleet (at time of age.) This is not necessarily where the fleet is actually located.

Overrides:
getLocation in class DBItem

setLocation

public void setLocation(Location in_location)

createSubKnowledge

public 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.