|
|||||||||
| 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.MiscTech.StdElecItem
public class StdElecItem
| 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.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.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 | |
|---|---|
StdElecItem()
|
|
| 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 java.lang.Object |
|---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected int fuelType
protected long powerCapacity
protected long power
protected boolean activated
| Constructor Detail |
|---|
public StdElecItem()
| Method Detail |
|---|
public java.lang.String ID()
CMObject
ID in interface CMObjectID in class StdItempublic 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 | ||||||||