org.gjt.universe.scheme001
Class Tech_001

java.lang.Object
  |
  +--org.gjt.universe.DBItem
        |
        +--org.gjt.universe.TechBase
              |
              +--org.gjt.universe.scheme001.Tech_001
All Implemented Interfaces:
java.io.Serializable

public class Tech_001
extends TechBase

See Also:
Serialized Form

Field Summary
private  CostID discCost
           
private  java.lang.String discCostTemp
           
private  VectorTechID prereqs
           
private  java.lang.String prereqsTemp
           
 
Fields inherited from class org.gjt.universe.TechBase
 
Constructor Summary
private Tech_001(java.lang.String in_name, java.lang.String in_prereqTemp, java.lang.String in_discCostTemp)
           
 
Method Summary
 CostID getDiscCost()
           
(package private)  java.lang.String getDiscCostTemp()
          This method updates the object during the second pass of the Technology file parsing.
(package private)  VectorTechID getPrereqs()
           
(package private)  java.lang.String getPrereqsTemp()
          This method updates the object during the second pass of the Technology file parsing.
static VectorTechID getResearchableTechs(CivID AID)
           
 boolean isDefault()
           
static TechID newTech(java.lang.String str)
           
 VectorDisplayReturn specificDisplayDebug()
           
(package private)  void updateLinks(VectorTechID in_prereqs, CostID in_discCost)
          This method updates the object during the second pass of the Technology file parsing.
 
Methods inherited from class org.gjt.universe.TechBase
getID, getIndex, getName, resetTechID
 
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

prereqs

private VectorTechID prereqs

discCost

private CostID discCost

prereqsTemp

private java.lang.String prereqsTemp

discCostTemp

private java.lang.String discCostTemp
Constructor Detail

Tech_001

private Tech_001(java.lang.String in_name,
                 java.lang.String in_prereqTemp,
                 java.lang.String in_discCostTemp)
Method Detail

newTech

public static TechID newTech(java.lang.String str)

specificDisplayDebug

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

getPrereqs

VectorTechID getPrereqs()

getDiscCost

public CostID getDiscCost()

getPrereqsTemp

java.lang.String getPrereqsTemp()
This method updates the object during the second pass of the Technology file parsing. This method should only be called by the ReadThemeFile class.

See Also:
ReadThemeFile

getDiscCostTemp

java.lang.String getDiscCostTemp()
This method updates the object during the second pass of the Technology file parsing. This method should only be called by the ReadThemeFile class.

See Also:
ReadThemeFile

updateLinks

void updateLinks(VectorTechID in_prereqs,
                 CostID in_discCost)
This method updates the object during the second pass of the Technology file parsing. This method should only be called by the ReadThemeFile class.

See Also:
ReadThemeFile

getResearchableTechs

public static VectorTechID getResearchableTechs(CivID AID)

isDefault

public boolean isDefault()
Specified by:
isDefault in class TechBase


Copyright © 2001 Universe Dev Team All Rights Reserved.