|
|||||||||
| 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.Basic.StdContainer
com.planet_ink.coffee_mud.Items.MiscTech.StdElecContainer
public class StdElecContainer
| Field Summary | |
|---|---|
protected boolean |
activated
|
protected int |
fuelType
|
protected long |
power
|
protected long |
powerCapacity
|
| Fields inherited from class com.planet_ink.coffee_mud.Items.Basic.StdContainer |
|---|
capacity, containType, hasALid, hasALock, isLocked, isOpen |
| Fields inherited from class com.planet_ink.coffee_mud.Items.Basic.StdItem |
|---|
affects, baseEnvStats, baseGoldValue, behaviors, CODES, databaseID, description, destroyed, displayText, dispossessionTime, envStats, imageName, material, miscText, myContainer, myUses, myWornCode, name, owner, properWornBitmap, riding, scripts, secretIdentity, tickStatus, wornLogicalAnd, xtraValues |
| Fields inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Container |
|---|
CONTAIN_ANYTHING, CONTAIN_BODIES, CONTAIN_CAGED, CONTAIN_CLOTHES, CONTAIN_COINS, CONTAIN_DAGGERS, CONTAIN_DESCS, CONTAIN_DRINKABLES, CONTAIN_FOOTWEAR, CONTAIN_KEYS, CONTAIN_LIQUID, CONTAIN_ONEHANDWEAPONS, CONTAIN_OTHERWEAPONS, CONTAIN_READABLES, CONTAIN_SCROLLS, CONTAIN_SMOKEABLES, CONTAIN_SSCOMPONENTS, CONTAIN_SWORDS |
| Fields inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Item |
|---|
IN_INVENTORY, WORN_ABOUT_BODY, WORN_ARMS, WORN_BACK, WORN_CODES, WORN_DEPENDENCYGRID, WORN_DESCS, 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_ORDER, WORN_RIGHT_FINGER, WORN_RIGHT_WRIST, WORN_TORSO, WORN_WAIST, WORN_WEIGHT_POINTS, WORN_WEIGHTS, WORN_WIELD, WORNREQ_ANY, WORNREQ_UNWORNONLY, WORNREQ_WORNONLY |
| Constructor Summary | |
|---|---|
StdElecContainer()
|
|
| Method Summary | |
|---|---|
void |
activate(boolean truefalse)
|
boolean |
activated()
|
int |
fuelType()
|
java.lang.String |
ID()
The CoffeeMud Java Class ID shared by all instances of this object. |
long |
powerCapacity()
|
long |
powerRemaining()
|
void |
setFuelType(int resource)
|
void |
setPowerCapacity(long capacity)
|
void |
setPowerRemaining(long remaining)
|
| Methods inherited from class com.planet_ink.coffee_mud.Items.Basic.StdContainer |
|---|
canContain, capacity, containTypes, emptyPlease, executeMsg, getContents, hasALid, hasALock, isLocked, isOpen, keyName, okMessage, reallyGetContents, setCapacity, setContainTypes, setKeyName, setLidsNLocks, setMiscText, tick |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.planet_ink.coffee_mud.Items.interfaces.Item |
|---|
amWearingAt, baseGoldValue, canWear, compareProperLocations, container, databaseID, fitsOn, material, numberOfItems, owner, rawLogicalAnd, rawProperLocationBitmap, rawSecretIdentity, rawWornCode, readableText, recursiveWeight, removeFromOwnerContainer, secretIdentity, setBaseValue, setContainer, setDatabaseID, setMaterial, setOwner, setRawLogicalAnd, setRawProperLocationBitmap, setRawWornCode, setReadableText, setSecretIdentity, setUsesRemaining, stopTicking, subjectToWearAndTear, ultimateContainer, unWear, usesRemaining, value, wearAt, wearEvenIfImpossible, wearIfPossible, whereCantWear |
| Methods inherited from interface com.planet_ink.coffee_mud.core.interfaces.Rider |
|---|
riding, setRiding |
| Field Detail |
|---|
protected int fuelType
protected long powerCapacity
protected long power
protected boolean activated
| Constructor Detail |
|---|
public StdElecContainer()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class StdContainerpublic int fuelType()
fuelType in interface Electronicspublic void setFuelType(int resource)
setFuelType in interface Electronicspublic long powerCapacity()
powerCapacity in interface Electronicspublic void setPowerCapacity(long capacity)
setPowerCapacity in interface Electronicspublic long powerRemaining()
powerRemaining in interface Electronicspublic void setPowerRemaining(long remaining)
setPowerRemaining in interface Electronicspublic boolean activated()
activated in interface Electronicspublic void activate(boolean truefalse)
activate in interface Electronics
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||