Affectable, Behavable, CMObject, Contingent, DBIdentifiable, Environmental, Expireable, Modifiable, MsgListener, Physical, PhysicalAgent, Readable, Rider, StatsAffecting, Tickable, Electronics, Item, PowerSource, TechComponent, Technical, Wearable, java.lang.Cloneable, java.lang.Comparable<CMObject>GenCompBatterypublic class StdCompBattery extends StdElecCompItem implements PowerSource, TechComponent
Technical.TechCommand, Technical.TechTypeidConvertercircuitKey, installedFactor, listenForCmds, maxRechargePeractivated, cachedManufact, manufacturer, power, powerCapacity_name, affectPhyStats, affects, baseGoldValue, basePhyStats, behaviors, cachedImageName, CODES, databaseID, description, destroyed, displayText, dispossessionTime, material, me, miscText, myContainer, myUses, myWornCode, owner, phyStats, properWornBitmap, rawImageName, riding, scripts, secretIdentity, tickCtr, tickStatus, wornLogicalAnd, xtraValues| Constructor | Description |
|---|---|
StdCompBattery() |
| Modifier and Type | Method | Description |
|---|---|---|
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.
|
copyOf, initializeClass, newInstanceactivate, activated, powerCapacity, powerNeeds, powerRemaining, powerTarget, setPowerCapacity, setPowerRemaining, setPowerTargetclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitdestroy, getComputedEfficiency, getInstalledFactor, getRechargeRate, isAllWiringHot, isInstalled, isThisPanelActivated, okMessage, powerNeeds, reportError, requiresPower, sendLocalMessage, setInstalledFactor, setOwner, setRechargeRate, subjectToWearAndTearactivate, activated, getFinalManufacturer, getManufacturerName, powerCapacity, powerRemaining, powerTarget, setManufacturerName, setPowerCapacity, setPowerRemaining, setPowerTarget, setTechLevel, techLevelabilityImbuesMagic, addBehavior, addEffect, addNonUninvokableEffect, addScript, affectCharState, affectCharStats, affectPhyStats, alreadyWornMsg, amBeingWornProperly, amDestroyed, amWearingAt, baseGoldValue, basePhyStats, behaviors, canSaveDatabaseID, canWear, canWearComplete, cloneFix, compareProperLocations, compareTo, container, copyOf, databaseID, delAllBehaviors, delAllEffects, delAllScripts, delBehavior, delEffect, delScript, description, description, displayText, displayText, eachBehavior, eachEffect, eachScript, effects, expirationDate, fetchBehavior, fetchBehavior, fetchEffect, fetchEffect, fetchScript, fitsOn, genericName, getSaveStatIndex, getStat, getStatCodes, getTickStatus, I, image, initializeClass, isGeneric, isReadable, isSavable, isStat, L, material, maxRange, minRange, miscTextFormat, name, name, Name, newInstance, numBehaviors, numberOfItems, numEffects, numScripts, owner, phyStats, rawImage, rawLogicalAnd, rawProperLocationBitmap, rawSecretIdentity, rawWornCode, readableText, recoverPhyStats, recursiveWeight, removeFromOwnerContainer, riding, scripts, secretIdentity, setBasePhyStats, setBaseValue, setContainer, setDatabaseID, setDescription, setDisplayText, setExpirationDate, setImage, setMaterial, setName, setRawLogicalAnd, setRawProperLocationBitmap, setRawWornCode, setReadable, setReadableText, setRiding, setSavable, setSecretIdentity, setStat, setUsesRemaining, stopTicking, tackOns, text, tick, ultimateContainer, unWear, usesRemaining, value, wearAt, wearEvenIfImpossible, wearIfPossible, wearIfPossible, whereCantWeargetInstalledFactor, getRechargeRate, isInstalled, setInstalledFactor, setRechargeRategetFinalManufacturer, getManufacturerName, setManufacturerName, setTechLevel, techLevelpublic java.lang.String ID()
CMObjectID in interface CMObjectID in class StdElecCompItempublic Technical.TechType getTechType()
TechnicalgetTechType in interface TechnicalgetTechType in class StdElecItemTechnical.TechTypepublic void setMiscText(java.lang.String newText)
EnvironmentalsetMiscText in interface EnvironmentalsetMiscText in class StdItemnewText - either an open internal text string, or XMLpublic boolean sameAs(Environmental E)
EnvironmentalsameAs in interface EnvironmentalsameAs in class StdElecCompItemE - the object to compare this one toModifiable.getStatCodes(),
Modifiable.getStat(String)public void executeMsg(Environmental host, CMMsg msg)
MsgListenerexecuteMsg in interface MsgListenerexecuteMsg in class StdElecCompItemhost - either the initiator of the event, or the host of this objectmsg - the CMMsg that needs to be executedCMMsg