org.gjt.universe.scheme001
Class OrderResearch_001

java.lang.Object
  |
  +--org.gjt.universe.Order
        |
        +--org.gjt.universe.scheme001.OrderResearch_001
All Implemented Interfaces:
java.io.Serializable

class OrderResearch_001
extends Order


Field Summary
private  StationID BID
           
private  float pointsResearched
           
private  float researchPointsRequired
           
private  Station_001 station
           
private  TechID TID
           
 
Constructor Summary
OrderResearch_001(StationID BID, TechID TID)
           
 
Method Summary
 void atPosition(int i)
          This method handles anything that needs to be done when the order is at a specific position int a queue.
 void delete()
           
 int getEstimatedTimeOfCompletion()
           
 Index getKey()
           
 float getPercentageCompletion()
           
(package private)  StationID getStation()
           
(package private)  TechID getTech()
           
 boolean process()
          This method processes the appropriate order.
 VectorDisplayReturn specificDisplayDebug()
           
 void submit()
           
 java.lang.String toString()
           
 
Methods inherited from class org.gjt.universe.Order
getName
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

BID

private StationID BID

station

private Station_001 station

TID

private TechID TID

pointsResearched

private float pointsResearched

researchPointsRequired

private float researchPointsRequired
Constructor Detail

OrderResearch_001

public OrderResearch_001(StationID BID,
                         TechID TID)
Method Detail

getStation

StationID getStation()

getTech

TechID getTech()

getKey

public Index getKey()
Specified by:
getKey in class Order

process

public boolean process()
Description copied from class: Order
This method processes the appropriate order. If this method returns a true, then the order is complete and can be removed.

Specified by:
process in class Order

getEstimatedTimeOfCompletion

public int getEstimatedTimeOfCompletion()
Specified by:
getEstimatedTimeOfCompletion in class Order

getPercentageCompletion

public float getPercentageCompletion()
Specified by:
getPercentageCompletion in class Order

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

specificDisplayDebug

public VectorDisplayReturn specificDisplayDebug()

atPosition

public void atPosition(int i)
Description copied from class: Order
This method handles anything that needs to be done when the order is at a specific position int a queue. Notes:

submit

public void submit()
Specified by:
submit in class Order

delete

public void delete()
Specified by:
delete in class Order


Copyright © 2001 Universe Dev Team All Rights Reserved.