Affectable
, Behavable
, java.lang.Cloneable
, CMObject
, java.lang.Comparable<CMObject>
, Contingent
, DBIdentifiable
, Environmental
, Expireable
, Item
, Modifiable
, MsgListener
, Physical
, PhysicalAgent
, Readable
, Rider
, StatsAffecting
, Technical
, Tickable
, Wearable
Computer
, ElecPanel
, PowerGenerator
, PowerSource
, ShipEngine
, ShipWarComponent
, TechComponent
GenAbsorbantShield
, GenBlaster
, GenBussardCollector
, GenCompBattery
, GenCompEnviroSystem
, GenCompGenerator
, GenCompLauncher
, GenComputerConsole
, GenDeflectionShield
, GenDisruptor
, GenDisruptor2
, GenEclipseField
, GenElecCompItem
, GenElecCompSensor
, GenElecContainer
, GenElecItem
, GenElecPanel
, GenElecWeapon
, GenEnergyShield
, GenFuellessGenerator
, GenGraviticSensor
, GenIntegrityShield
, GenKineticField
, GenLaserGun
, GenLightSwitch
, GenMutingField
, GenPersonalShield
, GenPhaser
, GenPhaser2
, GenReflectionShield
, GenShipDampener
, GenShipEngine
, GenShipGravityGen
, GenShipInertialBattery
, GenShipOpticalSensor
, GenShipPanel
, GenShipShieldGenerator
, GenShipThruster
, GenShipViewScreen
, GenShipWeapon
, GenShipWindow
, GenSolarGenerator
, GenSonicGun
, GenSpaceDrive
, GenSpaceShip
, GenStealthShield
, GenTickerShield
, GenTriCorder
, GenWaterPowerGenerator
, GenWindGenerator
, StdCompBattery
, StdCompFuelConsumer
, StdCompFuellessGenerator
, StdCompGenerator
, StdCompLauncher
, StdCompPanel
, StdComputerConsole
, StdElecCompContainer
, StdElecCompItem
, StdElecCompSensor
, StdElecContainer
, StdElecItem
, StdElecPanel
, StdElecWeapon
, StdPersonalShield
, StdShipDampener
, StdShipEngine
, StdShipFuellessThruster
, StdShipGravityGen
, StdShipInertialBattery
, StdShipShieldGenerator
, StdShipThruster
, StdShipWeapon
, StdTriCorder
public interface Electronics extends Item, Technical
Technical.TechCommand, Technical.TechType
Wearable.CODES
idConverter
DEFAULT_WORN_CODES, DEFAULT_WORN_DEPENDENCYGRID, DEFAULT_WORN_DESCS, DEFAULT_WORN_ORDER, DEFAULT_WORN_USUAL_NAMES, DEFAULT_WORN_WEIGHT_POINTS, DEFAULT_WORN_WEIGHTS, FILTER_ANY, FILTER_MOBINVONLY, FILTER_ROOMONLY, FILTER_UNWORNONLY, FILTER_WORNONLY, HIGHEST_WORN_CODE, IN_INVENTORY, WORN_ABOUT_BODY, WORN_ARMS, WORN_BACK, WORN_EARS, WORN_EYES, WORN_FEET, WORN_FLOATING_NEARBY, WORN_HANDS, WORN_HEAD, WORN_HELD, WORN_LEFT_FINGER, WORN_LEFT_WRIST, WORN_LEGS, WORN_MOUTH, WORN_NECK, WORN_RIGHT_FINGER, WORN_RIGHT_WRIST, WORN_TORSO, WORN_WAIST, WORN_WIELD
Modifier and Type | Method | Description |
---|---|---|
void |
activate(boolean truefalse) |
Sets whether this electrical item is "turned on".
|
boolean |
activated() |
Gets whether this electrical item is "turned on".
|
long |
powerCapacity() |
Gets the maximum amount of capacitance supported by
this electrical item.
|
int |
powerNeeds() |
Returns the immediate power needs of this electrical item.
|
long |
powerRemaining() |
Gets the amount of power capacitance remaining in this
electrical item.
|
long |
powerTarget() |
Gets the amount of power capacitance to allow this
electrical item to charge up to.
|
void |
setPowerCapacity(long capacity) |
Sets the maximum amount of capacitance supported by
this electrical item.
|
void |
setPowerRemaining(long remaining) |
Sets the amount of power capacitance remaining in this
electrical item.
|
void |
setPowerTarget(long remaining) |
Sets the amount of power capacitance to allow this
electrical item to charge up to.
|
addBehavior, addScript, behaviors, delAllBehaviors, delAllScripts, delBehavior, delScript, eachBehavior, eachScript, fetchBehavior, fetchBehavior, fetchScript, numBehaviors, numScripts, scripts
copyOf, ID, initializeClass, newInstance
canSaveDatabaseID, databaseID, setDatabaseID
baseGoldValue, container, material, numberOfItems, owner, rawSecretIdentity, recursiveWeight, removeFromOwnerContainer, secretIdentity, setBaseValue, setContainer, setMaterial, setOwner, setSecretIdentity, setUsesRemaining, stopTicking, subjectToWearAndTear, ultimateContainer, usesRemaining, value
isReadable, readableText, setReadable, setReadableText
getFinalManufacturer, getManufacturerName, getTechType, setManufacturerName, setTechLevel, techLevel
amBeingWornProperly, amWearingAt, canWear, compareProperLocations, fitsOn, rawLogicalAnd, rawProperLocationBitmap, rawWornCode, setRawLogicalAnd, setRawProperLocationBitmap, setRawWornCode, unWear, wearAt, wearEvenIfImpossible, wearIfPossible, wearIfPossible, whereCantWear
long powerCapacity()
setPowerCapacity(long)
void setPowerCapacity(long capacity)
capacity
- the maximum amount of stored power capacitypowerCapacity()
long powerRemaining()
setPowerRemaining(long)
void setPowerRemaining(long remaining)
remaining
- the amount of power capacitance remainingpowerRemaining()
long powerTarget()
setPowerTarget(long)
void setPowerTarget(long remaining)
remaining
- the amount of power capacitance remainingpowerTarget()
int powerNeeds()
powerRemaining()
,
powerCapacity()
boolean activated()
activate(boolean)
void activate(boolean truefalse)
truefalse
- true to activate, false to deactivateactivated()