Modifier and Type | Class and Description |
---|---|
static interface |
Hero.Doom |
Modifier and Type | Field and Description |
---|---|
Belongings |
belongings |
HeroAction |
curAction |
java.lang.Runnable |
doOnNextAction |
HeroClass |
heroClass |
Armor.Glyph |
killerGlyph |
HeroAction |
lastAction |
java.lang.String |
levelId |
Position |
portalLevelPos |
MissileWeapon |
rangedWeapon |
boolean |
restoreHealth |
static int |
STARTING_STR |
HeroSubClass |
subClass |
static java.lang.String |
TXT_YOU_NOW_HAVE |
boolean |
weakened |
Modifier and Type | Method and Description |
---|---|
void |
accumulateSoulPoints() |
void |
accumulateSoulPoints(int n) |
boolean |
act() |
void |
add(Buff buff) |
void |
addPet(Mob pet) |
float |
attackDelay() |
int |
attackProc(Char enemy,
int damage) |
int |
attackSkill(Char target) |
boolean |
bowEquiped() |
void |
busy() |
boolean |
canAttack(Char enemy) |
void |
checkIfFurious() |
void |
checkVisibleMobs() |
java.lang.String |
className() |
void |
clearActions() |
void |
collect(Item item) |
void |
damage(int dmg,
java.lang.Object src) |
int |
damageRoll() |
int |
defenseProc(Char enemy,
int damage) |
int |
defenseSkill(Char enemy) |
void |
die(java.lang.Object cause) |
int |
dr() |
void |
earnExp(int exp) |
int |
effectiveSTR() |
boolean |
enoughSP(int cost) |
int |
getDifficulty() |
int |
getExp() |
HeroSpriteDef |
getHeroSprite() |
Mob |
getNearestEnemy() |
java.util.Collection<Mob> |
getPets() |
int |
getSoulPoints() |
int |
getSoulPointsMax() |
CharSprite |
getSprite() |
boolean |
handle(int cell) |
java.util.Set<java.lang.Class<?>> |
immunities() |
void |
interrupt() |
boolean |
isReady() |
boolean |
isStarving() |
void |
itemPickedUp(Item item) |
int |
lvl() |
int |
magicLvl() |
void |
magicLvlUp() |
int |
maxExp() |
void |
move(int step) |
void |
onAttackComplete() |
void |
onMotionComplete() |
void |
onOperateComplete() |
static void |
preview(GamesInProgress.Info info,
Bundle bundle) |
static void |
reallyDie(java.lang.Object cause) |
void |
releasePets() |
void |
remove(Buff buff) |
java.util.Set<java.lang.Class<?>> |
resistances() |
void |
rest(boolean tillHealthy) |
void |
restoreFromBundle(Bundle bundle) |
void |
resume() |
void |
resurrect(int resetLevel) |
boolean |
search(boolean intentional) |
void |
setExp(int exp) |
void |
setGender(int gender) |
void |
setMagicLvl(int level) |
void |
setMaxSoulPoints(int points) |
void |
setPortalLevelCoordinates(Position position) |
void |
setSoulPoints(int points) |
boolean |
shoot(Char enemy,
MissileWeapon wep) |
void |
spawnPets() |
float |
speed() |
void |
spend(float time) |
void |
spendAndNext(float time) |
void |
spendSoulPoints(int cost) |
int |
stealth() |
void |
storeInBundle(Bundle bundle) |
int |
STR() |
void |
STR(int sTR) |
int |
tier() |
void |
updateLook() |
void |
updateSpriteState() |
int |
visibleEnemies() |
Mob |
visibleEnemy(int index) |
affectLevelObjects, attack, buff, buffs, buffs, canSpawnAt, defenseVerb, destroy, distance, getGender, getName_objective, getName, getPos, hit, hp, hp, ht, ht, isAlive, isMovable, onZapComplete, regenSprite, remove, respawnCell, setPos, updateSprite
add, addDelayed, all, clear, dontPack, findChar, fixTime, freeCell, init, next, occupyCell, process, processReaTime, remove
public static final java.lang.String TXT_YOU_NOW_HAVE
public static final int STARTING_STR
@Nullable public java.lang.Runnable doOnNextAction
public HeroClass heroClass
public HeroSubClass subClass
public HeroAction curAction
public HeroAction lastAction
public Armor.Glyph killerGlyph
public boolean restoreHealth
public MissileWeapon rangedWeapon
public Belongings belongings
public boolean weakened
public java.lang.String levelId
public Position portalLevelPos
public void addPet(@NonNull Mob pet)
public int effectiveSTR()
public void STR(int sTR)
public int STR()
@NonNull public java.util.Collection<Mob> getPets()
public void releasePets()
public void storeInBundle(Bundle bundle)
storeInBundle
in interface Bundlable
storeInBundle
in class Char
public void restoreFromBundle(Bundle bundle)
restoreFromBundle
in interface Bundlable
restoreFromBundle
in class Char
public static void preview(GamesInProgress.Info info, Bundle bundle)
public java.lang.String className()
public int tier()
public boolean bowEquiped()
public boolean shoot(Char enemy, MissileWeapon wep)
public int attackSkill(Char target)
attackSkill
in class Char
public int defenseSkill(Char enemy)
defenseSkill
in class Char
public int damageRoll()
damageRoll
in class Char
public float attackDelay()
public void spendAndNext(float time)
public boolean act()
public void busy()
public void interrupt()
public void resume()
public void itemPickedUp(Item item)
public void rest(boolean tillHealthy)
public int attackProc(@NonNull Char enemy, int damage)
attackProc
in class Char
public int defenseProc(Char enemy, int damage)
defenseProc
in class Char
public void checkIfFurious()
public void checkVisibleMobs()
public Mob getNearestEnemy()
public int visibleEnemies()
public Mob visibleEnemy(int index)
public boolean handle(int cell)
public void earnExp(int exp)
public int maxExp()
public boolean isStarving()
public void updateSpriteState()
updateSpriteState
in class Char
public void clearActions()
public static void reallyDie(java.lang.Object cause)
public void onMotionComplete()
onMotionComplete
in class Char
public void onAttackComplete()
onAttackComplete
in class Char
public void onOperateComplete()
onOperateComplete
in class Char
public boolean search(boolean intentional)
public void resurrect(int resetLevel)
public java.util.Set<java.lang.Class<?>> resistances()
resistances
in class Char
public java.util.Set<java.lang.Class<?>> immunities()
immunities
in class Char
public HeroSpriteDef getHeroSprite()
public CharSprite getSprite()
public int lvl()
public int getExp()
public void setExp(int exp)
public boolean canAttack(Char enemy)
public void updateLook()
public void collect(Item item)
public boolean isReady()
public int getDifficulty()
public void setGender(int gender)
public void spawnPets()
public void accumulateSoulPoints()
public void accumulateSoulPoints(int n)
public int getSoulPoints()
public int getSoulPointsMax()
public void spendSoulPoints(int cost)
public boolean enoughSP(int cost)
public void setSoulPoints(int points)
public void setMaxSoulPoints(int points)
public void setPortalLevelCoordinates(Position position)
public void setMagicLvl(int level)
public void magicLvlUp()