|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Manufacturer
A class for holding information about the manufacturer of electronics.
Method Summary | |
---|---|
double |
getEfficiencyPct()
Returns a pct, from 0-2, to multiply by the power requirements of electronic items for certain purposes. |
MaskingLibrary.CompiledZMask |
getItemMask()
Returns the item mask that describes what kind of items this manufacturer makes. |
java.lang.String |
getItemMaskStr()
Returns the item mask that describes what kind of items this manufacturer makes. |
java.lang.String |
getManufactureredTypesList()
Returns a comma-delimited list of the types of things this manufacturer will make. |
byte |
getMaxTechLevelDiff()
Returns a positive difference from Max Tech Level-10. |
byte |
getMinTechLevelDiff()
Returns a positive difference from Max Tech Level-10. |
double |
getReliabilityPct()
Returns a pct, from 0-2, to multiply by the amt of damage taken, and the chance of failure, esp. |
java.lang.String |
getXml()
Returns an Xml document representing this manufacturer. |
boolean |
isManufactureredType(Technical T)
Returns whether the given item will be manufacturered by this manufacturer. |
void |
setEfficiencyPct(double pct)
Sets a pct, from 0-2, to multiply by the power requirements of electronic items for certain purposes. |
void |
setItemMask(java.lang.String newMask)
Sets the item mask that describes what kind of items this manufacturer makes. |
void |
setManufactureredTypesList(java.lang.String list)
Sets the comma-delimited list of the types of things this manufacturer will make. |
void |
setMaxTechLevelDiff(byte max)
Sets a positive difference from Max Tech Level-10. |
void |
setMinTechLevelDiff(byte min)
Sets a positive difference from Max Tech Level-10. |
void |
setName(java.lang.String name)
Sets the name of the manufacturer |
void |
setReliabilityPct(double pct)
Sets a pct, from 0-2, to multiply by the amt of damage taken, and the chance of failure, esp. |
void |
setXml(java.lang.String xml)
Sets an Xml document representing this manufacturer. |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
---|
copyOf, ID, initializeClass, name, newInstance |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
boolean isManufactureredType(Technical T)
T
- the item type
java.lang.String getManufactureredTypesList()
void setManufactureredTypesList(java.lang.String list)
list
- the comma-delimited list of the types of things this manufacturer will make.byte getMaxTechLevelDiff()
void setMaxTechLevelDiff(byte max)
max
- a number from 0-10byte getMinTechLevelDiff()
void setMinTechLevelDiff(byte min)
min
- a number from 0-10void setName(java.lang.String name)
name
- of the manufacturerdouble getEfficiencyPct()
void setEfficiencyPct(double pct)
pct
- from 0-2double getReliabilityPct()
void setReliabilityPct(double pct)
pct
- from 0-2void setItemMask(java.lang.String newMask)
newMask
- the zapperMaskMaskingLibrary
MaskingLibrary.CompiledZMask getItemMask()
MaskingLibrary
java.lang.String getItemMaskStr()
MaskingLibrary
java.lang.String getXml()
void setXml(java.lang.String xml)
xml
- Xml document representing this manufacturer.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |