|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--org.gjt.universe.Order
|
+--org.gjt.universe.OrderTransitWormhole
| Field Summary | |
private SystemBase |
destination
|
private FleetID |
FID
|
private SystemBase |
origin
|
private Wormhole |
wormhole
|
| Constructor Summary | |
OrderTransitWormhole(FleetID FID,
Wormhole wormhole,
SystemBase origin,
SystemBase destination)
This is the designated constructor for instances of this class. |
|
| 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()
|
SystemBase |
getDestination()
Returns the star system containing the wormhole end-point which the fleet will exit. |
int |
getEstimatedTimeOfCompletion()
|
FleetID |
getFleet()
Returns the unique ID of the fleet which is being ordered through the wormhole. |
Index |
getKey()
|
SystemBase |
getOrigin()
Returns the star system containing the wormhole end-point which the fleet will enter. |
float |
getPercentageCompletion()
|
Wormhole |
getWormhole()
Returns the wormhole that the fleet is to travel through. |
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 |
private FleetID FID
private SystemBase destination
private SystemBase origin
private Wormhole wormhole
| Constructor Detail |
public OrderTransitWormhole(FleetID FID,
Wormhole wormhole,
SystemBase origin,
SystemBase destination)
FID - The unique ID of the fleet to be moved through the wormhole.wormhole - The wormhole that the fleet is to move through.origin - The system containing the wormhole end-point which the fleet will enter.destination - The system containing the wormhole end-point which the fleet will exit.| Method Detail |
public FleetID getFleet()
public Wormhole getWormhole()
public SystemBase getOrigin()
public SystemBase getDestination()
public boolean process()
Order
process in class Orderpublic Index getKey()
getKey in class Orderpublic java.lang.String toString()
toString in class java.lang.Objectpublic int getEstimatedTimeOfCompletion()
getEstimatedTimeOfCompletion in class Orderpublic float getPercentageCompletion()
getPercentageCompletion in class Orderpublic VectorDisplayReturn specificDisplayDebug()
public void atPosition(int i)
Order
atPosition in class Orderpublic void submit()
submit in class Orderpublic void delete()
delete in class Order
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||