org.gjt.universe
Class OrderColonize

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

public class OrderColonize
extends Order

See Also:
Serialized Form

Field Summary
private  FleetID FID
           
private  PlanetID PID
           
 
Constructor Summary
OrderColonize(FleetID FID)
           
OrderColonize(FleetID FID, PlanetID PID)
           
 
Method Summary
 void atPosition(int i)
          This method is called when our position in the queue of orders has changed.
 void delete()
           
 int getEstimatedTimeOfCompletion()
           
 FleetID getFleet()
           
 Index getKey()
           
 float getPercentageCompletion()
           
 PlanetID getPlanet()
           
 boolean process()
          This method processes the appropriate order.
 void setPlanet(PlanetID PID)
           
 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

FID

private FleetID FID

PID

private PlanetID PID
Constructor Detail

OrderColonize

public OrderColonize(FleetID FID,
                     PlanetID PID)

OrderColonize

public OrderColonize(FleetID FID)
Method Detail

getFleet

public FleetID getFleet()

getPlanet

public PlanetID getPlanet()

setPlanet

public void setPlanet(PlanetID PID)

getKey

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

getEstimatedTimeOfCompletion

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

getPercentageCompletion

public float getPercentageCompletion()
Specified by:
getPercentageCompletion 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

specificDisplayDebug

public VectorDisplayReturn specificDisplayDebug()

toString

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

atPosition

public void atPosition(int i)
This method is called when our position in the queue of orders has changed.

Specified by:
atPosition in class Order

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.