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
  
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
 
BID
private StationID BID
station
private Station_001 station
DID
private ShipDesignID DID
shipDesign
private ShipDesign_001 shipDesign
pointsEngineered
private float pointsEngineered
OrderEngineering_001
public OrderEngineering_001(StationID BID,
                            ShipDesignID DID)
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: 
                
                -  The method *must* be able to be called multiple times at the 
                same position, because it almost certainly will be. It *must* handle
                this situation correctly.
                
 -  The method *must not* count on having each position called int 
                order. Nor must it count on the position numbers being sequential -- 
                if an order is inserted, it may be called with a higher number than 
                the previous time. Or, if an order is deleted, it may be called with
                a number 2 or more below the last one it was called with. It is up to
                the method to handle this appropriately.
                
 
 
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.