org.gjt.universe
Class ProtoShip

java.lang.Object
  |
  +--org.gjt.universe.ProtoObject
        |
        +--org.gjt.universe.ProtoShip

public class ProtoShip
extends ProtoObject


Field Summary
(package private)  java.lang.String name
           
(package private)  ShipDesign_001 shipDesign
           
(package private)  ShipDesignID shipDesignID
           
(package private)  Station_001 stationBuilding
           
(package private)  StationID stationBuildingID
           
 
Fields inherited from class org.gjt.universe.ProtoObject
currentTurn, productionThisTurn, totalProduction, totalProductionNeeded
 
Constructor Summary
ProtoShip(StationID BID, ShipDesignID DID)
           
 
Method Summary
(package private)  void buildObject()
          Object type specific method to build the actual object.
 Index getKey()
           
 boolean prereqs()
           
 java.lang.String toString()
           
 
Methods inherited from class org.gjt.universe.ProtoObject
addProduction, getEstimatedTimeOfCompletion, getPercentageCompletion, getProductionNeeded, newProtoObject, newProtoObject, newProtoObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

stationBuildingID

StationID stationBuildingID

stationBuilding

Station_001 stationBuilding

shipDesignID

ShipDesignID shipDesignID

shipDesign

ShipDesign_001 shipDesign

name

java.lang.String name
Constructor Detail

ProtoShip

public ProtoShip(StationID BID,
                 ShipDesignID DID)
Method Detail

prereqs

public boolean prereqs()
Specified by:
prereqs in class ProtoObject

buildObject

void buildObject()
Description copied from class: ProtoObject
Object type specific method to build the actual object.

Specified by:
buildObject in class ProtoObject

getKey

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

toString

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


Copyright © 2001 Universe Dev Team All Rights Reserved.