org.gjt.universe.scheme001
Class ModuleDesign_001_Ship

java.lang.Object
  |
  +--org.gjt.universe.DBItem
        |
        +--org.gjt.universe.ModuleDesignBase
              |
              +--org.gjt.universe.scheme001.ModuleDesign_001
                    |
                    +--org.gjt.universe.scheme001.ModuleDesign_001_Ship
All Implemented Interfaces:
java.io.Serializable

public class ModuleDesign_001_Ship
extends ModuleDesign_001

See Also:
Serialized Form

Field Summary
private  CostID buildCost
           
private  CostID engineeringCost
           
private  CostID maintenanceCost
           
private  java.lang.String tmpBuildCost
           
private  java.lang.String tmpEngineeringCost
           
private  java.lang.String tmpMaintenanceCost
           
private  ModuleDesign_001_ShipType type
           
private  float value
           
 
Fields inherited from class org.gjt.universe.ModuleDesignBase
 
Constructor Summary
private ModuleDesign_001_Ship(java.lang.String tmpTech, java.lang.String tmpEng, java.lang.String tmpBuild, java.lang.String tmpMain, java.lang.String name, ModuleDesign_001_ShipType type, float value)
           
 
Method Summary
(package private)  ModuleDesign_001_Type getBaseType()
           
(package private)  CostID getBuildCost()
           
(package private)  java.lang.String getBuildCostTemp()
           
(package private)  CostID getEngineeringCost()
           
(package private)  java.lang.String getEngineeringCostTemp()
           
(package private) static VectorModuleDesignID getKnown(CivID AID, ModuleDesign_001_ShipType type)
           
(package private)  java.lang.String getMaintCostTemp()
           
(package private)  CostID getMaintenanceCost()
           
 java.lang.String[] getOrderTypes()
          This method returns the orders that this module can do.
(package private)  VectorTechID getPreReqs()
           
(package private)  java.lang.String getPrereqsTemp()
           
(package private)  ModuleDesign_001_ShipType getType()
           
 float getValue()
           
(package private) static ModuleDesignID newModuleDesign(java.lang.String str)
           
(package private)  void setPrereqsTemp(java.lang.String tmpTech)
           
 VectorDisplayReturn specificDisplayDebug()
           
(package private)  void updateLinks(VectorTechID VTID)
           
(package private)  void updateLinks(VectorTechID VTID, CostID CID0, CostID CID1, CostID CID2)
           
 
Methods inherited from class org.gjt.universe.ModuleDesignBase
getID, getIndex, getName, resetModuleDesignID
 
Methods inherited from class org.gjt.universe.DBItem
getLocation, getOwner
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

private ModuleDesign_001_ShipType type

value

private float value

engineeringCost

private CostID engineeringCost

buildCost

private CostID buildCost

maintenanceCost

private CostID maintenanceCost

tmpEngineeringCost

private java.lang.String tmpEngineeringCost

tmpBuildCost

private java.lang.String tmpBuildCost

tmpMaintenanceCost

private java.lang.String tmpMaintenanceCost
Constructor Detail

ModuleDesign_001_Ship

private ModuleDesign_001_Ship(java.lang.String tmpTech,
                              java.lang.String tmpEng,
                              java.lang.String tmpBuild,
                              java.lang.String tmpMain,
                              java.lang.String name,
                              ModuleDesign_001_ShipType type,
                              float value)
Method Detail

newModuleDesign

static ModuleDesignID newModuleDesign(java.lang.String str)

getEngineeringCostTemp

java.lang.String getEngineeringCostTemp()

getBuildCostTemp

java.lang.String getBuildCostTemp()

getMaintCostTemp

java.lang.String getMaintCostTemp()

updateLinks

void updateLinks(VectorTechID VTID,
                 CostID CID0,
                 CostID CID1,
                 CostID CID2)

getType

ModuleDesign_001_ShipType getType()

getValue

public float getValue()

getBuildCost

CostID getBuildCost()

getEngineeringCost

CostID getEngineeringCost()

getMaintenanceCost

CostID getMaintenanceCost()

getOrderTypes

public java.lang.String[] getOrderTypes()
Description copied from class: ModuleDesignBase
This method returns the orders that this module can do. All orders are represented by strings and must be parsed and handled by the calling GUI.

Specified by:
getOrderTypes in class ModuleDesignBase

getKnown

static VectorModuleDesignID getKnown(CivID AID,
                                     ModuleDesign_001_ShipType type)

specificDisplayDebug

public VectorDisplayReturn specificDisplayDebug()
Specified by:
specificDisplayDebug in class DBItem

getBaseType

ModuleDesign_001_Type getBaseType()
Specified by:
getBaseType in class ModuleDesign_001

setPrereqsTemp

final void setPrereqsTemp(java.lang.String tmpTech)

getPrereqsTemp

final java.lang.String getPrereqsTemp()

getPreReqs

VectorTechID getPreReqs()

updateLinks

void updateLinks(VectorTechID VTID)


Copyright © 2001 Universe Dev Team All Rights Reserved.