org.gjt.universe
Class ProtoTech

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

public class ProtoTech
extends ProtoObject


Field Summary
(package private)  java.lang.String name
           
(package private)  Station_001 stationBuilding
           
(package private)  StationID stationBuildingID
           
(package private)  Tech_001 tech
           
(package private)  TechID techID
           
 
Fields inherited from class org.gjt.universe.ProtoObject
currentTurn, productionThisTurn, totalProduction, totalProductionNeeded
 
Constructor Summary
ProtoTech(StationID BID, TechID TID)
           
 
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

techID

TechID techID

tech

Tech_001 tech

stationBuildingID

StationID stationBuildingID

stationBuilding

Station_001 stationBuilding

name

java.lang.String name
Constructor Detail

ProtoTech

public ProtoTech(StationID BID,
                 TechID TID)
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.