| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AC_READ |
cursed, cursedKnown, defaultAction, levelKnown, stackable| Constructor and Description |
|---|
Codex() |
| Modifier and Type | Method and Description |
|---|---|
java.util.ArrayList<java.lang.String> |
actions(Hero hero) |
void |
execute(Hero hero,
java.lang.String action) |
void |
fromJson(org.json.JSONObject itemDesc) |
boolean |
isIdentified() |
boolean |
isUpgradable() |
int |
price() |
void |
restoreFromBundle(Bundle bundle) |
void |
storeInBundle(Bundle bundle) |
affectLevelObjects, burn, cast, collect, collect, degrade, degrade, desc, detach, detachAll, doDrop, dontPack, doPickUp, doThrow, emitter, emitterInterval, evoke, execute, freeze, glowing, identify, image, imageFile, info, isEquipped, isFliesFastRotating, isFliesStraight, level, level, name, pick, poison, quantity, quantity, random, removeItemFrom, status, toString, trueName, updateQuickslot, upgrade, upgrade, virtual, visiblyUpgradedpublic java.util.ArrayList<java.lang.String> actions(Hero hero)
public boolean isIdentified()
isIdentified in class Itempublic boolean isUpgradable()
isUpgradable in class Itempublic void fromJson(org.json.JSONObject itemDesc)
throws org.json.JSONException
public void restoreFromBundle(Bundle bundle)
restoreFromBundle in interface BundlablerestoreFromBundle in class Itempublic void storeInBundle(Bundle bundle)
storeInBundle in interface BundlablestoreInBundle in class Item