|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.planet_ink.coffee_mud.Items.Basic.StdItem
com.planet_ink.coffee_mud.Items.BasicTech.StdElecItem
com.planet_ink.coffee_mud.Items.CompTech.StdElecCompItem
com.planet_ink.coffee_mud.Items.CompTech.StdCompBattery
public class StdCompBattery
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Items.interfaces.TechComponent |
---|
TechComponent.ShipDir |
Nested classes/interfaces inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Technical |
---|
Technical.TechCommand, Technical.TechType |
Field Summary |
---|
Fields inherited from class com.planet_ink.coffee_mud.Items.CompTech.StdElecCompItem |
---|
circuitKey, installedFactor, maxRechargePer |
Fields inherited from class com.planet_ink.coffee_mud.Items.BasicTech.StdElecItem |
---|
activated, cachedManufact, manufacturer, power, powerCapacity |
Fields inherited from class com.planet_ink.coffee_mud.Items.Basic.StdItem |
---|
affectPhyStats, affects, baseGoldValue, basePhyStats, behaviors, cachedImageName, CODES, databaseID, description, destroyed, displayText, dispossessionTime, material, me, miscText, myContainer, myUses, myWornCode, name, owner, phyStats, properWornBitmap, rawImageName, riding, scripts, secretIdentity, tickCtr, tickStatus, wornLogicalAnd, xtraValues |
Constructor Summary | |
---|---|
StdCompBattery()
|
Method Summary | |
---|---|
void |
executeMsg(Environmental host,
CMMsg msg)
The general message event handler for the object. |
Technical.TechType |
getTechType()
Returns the tech type enum for this technical object, which describes more about its functionality, and is in fact a kind of class proxy. |
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
boolean |
sameAs(Environmental E)
Whether this object instance is functionally identical to the object passed in. |
void |
setMiscText(java.lang.String newText)
For objects which have false for their isGeneric method, this is used to set any internally coded strings to change the nature or behavior of the object. |
Methods inherited from class com.planet_ink.coffee_mud.Items.CompTech.StdElecCompItem |
---|
destroy, getComputedEfficiency, getInstalledFactor, getRechargeRate, isAllWiringHot, isInstalled, isThisPanelActivated, okMessage, powerNeeds, reportError, sendLocalMessage, setInstalledFactor, setOwner, setRechargeRate, subjectToWearAndTear |
Methods inherited from class com.planet_ink.coffee_mud.Items.BasicTech.StdElecItem |
---|
activate, activated, getFinalManufacturer, getManufacturerName, powerCapacity, powerRemaining, setManufacturerName, setPowerCapacity, setPowerRemaining, setTechLevel, techLevel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.TechComponent |
---|
getInstalledFactor, getRechargeRate, isInstalled, setInstalledFactor, setRechargeRate |
Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Electronics |
---|
activate, activated, getFinalManufacturer, getManufacturerName, powerCapacity, powerNeeds, powerRemaining, setManufacturerName, setPowerCapacity, setPowerRemaining |
Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Technical |
---|
setTechLevel, techLevel |
Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.CMObject |
---|
copyOf, initializeClass, newInstance |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Constructor Detail |
---|
public StdCompBattery()
Method Detail |
---|
public java.lang.String ID()
CMObject
ID
in interface CMObject
ID
in class StdElecCompItem
public Technical.TechType getTechType()
Technical
getTechType
in interface Technical
getTechType
in class StdElecItem
Technical.TechType
public void setMiscText(java.lang.String newText)
Environmental
setMiscText
in interface Environmental
setMiscText
in class StdItem
newText
- either an open internal text string, or XMLpublic boolean sameAs(Environmental E)
Environmental
sameAs
in interface Environmental
sameAs
in class StdElecCompItem
E
- the object to compare this one to
Modifiable.getStatCodes()
,
Modifiable.getStat(String)
public void executeMsg(Environmental host, CMMsg msg)
MsgListener
executeMsg
in interface MsgListener
executeMsg
in class StdElecCompItem
host
- either the initiator of the event, or the host of this objectmsg
- the CMMsg that needs to be executedCMMsg
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |