org.gjt.universe.scheme001
Class OrderEngineering_001

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

class OrderEngineering_001
extends Order


Field Summary
private  StationID BID
           
private  ShipDesignID DID
           
private  float pointsEngineered
           
private  ShipDesign_001 shipDesign
           
private  Station_001 station
           
 
Constructor Summary
OrderEngineering_001(StationID BID, ShipDesignID DID)
           
 
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)  ShipDesignID getShipDesign()
           
(package private)  StationID getStation()
           
 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

DID

private ShipDesignID DID

shipDesign

private ShipDesign_001 shipDesign

pointsEngineered

private float pointsEngineered
Constructor Detail

OrderEngineering_001

public OrderEngineering_001(StationID BID,
                            ShipDesignID DID)
Method Detail

getStation

StationID getStation()

getShipDesign

ShipDesignID getShipDesign()

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.