|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.gjt.universe.DBItem | +--org.gjt.universe.ModuleDesignBase
The ModuleDesignBase class represents objects used to "construct" ships, and stations. These would include ship components and station components (buildings). See the Module Overview for more information.
ModuleBase
,
ShipDesignBase
,
StationBase
,
Serialized FormField Summary | |
private static ModuleDesignID |
currentID
ID of next Module object made. |
private ModuleDesignID |
ID
ID of this Module object. |
private java.lang.String |
name
|
Constructor Summary | |
ModuleDesignBase()
Constructor for ModuleUndefined |
|
ModuleDesignBase(java.lang.String in_name)
Constructor - makes ID for Module object |
Method Summary | |
ModuleDesignID |
getID()
Return the ID |
Index |
getIndex()
See getID() in the subclasses for a typed version. |
java.lang.String |
getName()
|
abstract java.lang.String[] |
getOrderTypes()
This method returns the orders that this module can do. |
static void |
resetModuleDesignID()
|
Methods inherited from class org.gjt.universe.DBItem |
getLocation, getOwner, specificDisplayDebug |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
private static ModuleDesignID currentID
private ModuleDesignID ID
private java.lang.String name
Constructor Detail |
public ModuleDesignBase(java.lang.String in_name)
public ModuleDesignBase()
Method Detail |
public ModuleDesignID getID()
public Index getIndex()
DBItem
getIndex
in class DBItem
public static void resetModuleDesignID()
public java.lang.String getName()
getName
in class DBItem
public abstract java.lang.String[] getOrderTypes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |