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, visiblyUpgraded
public java.util.ArrayList<java.lang.String> actions(Hero hero)
public boolean isIdentified()
isIdentified
in class Item
public boolean isUpgradable()
isUpgradable
in class Item
public void fromJson(org.json.JSONObject itemDesc) throws org.json.JSONException
public void restoreFromBundle(Bundle bundle)
restoreFromBundle
in interface Bundlable
restoreFromBundle
in class Item
public void storeInBundle(Bundle bundle)
storeInBundle
in interface Bundlable
storeInBundle
in class Item