org.gjt.universe
Class ProtoModule

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

public class ProtoModule
extends ProtoObject
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
(package private)  ModuleDesignID moduleDesignID
           
(package private)  java.lang.String name
           
(package private)  Station_001 stationBuilding
           
(package private)  StationID stationBuildingID
           
 
Fields inherited from class org.gjt.universe.ProtoObject
currentTurn, productionThisTurn, totalProduction, totalProductionNeeded
 
Constructor Summary
ProtoModule(StationID BID, ModuleDesignID EID)
           
 
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

moduleDesignID

ModuleDesignID moduleDesignID

name

java.lang.String name
Constructor Detail

ProtoModule

public ProtoModule(StationID BID,
                   ModuleDesignID EID)
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.