| Modifier and Type | Field and Description |
|---|---|
static float |
HUNGRY |
static float |
STARVING |
| Constructor and Description |
|---|
Hunger() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
act() |
boolean |
attachTo(Char target) |
int |
icon() |
boolean |
isStarving() |
void |
onDeath() |
void |
restoreFromBundle(Bundle bundle) |
void |
satisfy(float energy) |
void |
storeInBundle(Bundle bundle) |
java.lang.String |
toString() |
affect, affect, detach, detach, detach, prolongadd, addDelayed, all, clear, dontPack, findChar, fixTime, freeCell, init, next, occupyCell, process, processReaTime, removepublic static final float HUNGRY
public static final float STARVING
public void storeInBundle(Bundle bundle)
storeInBundle in interface BundlablestoreInBundle in class Actorpublic void restoreFromBundle(Bundle bundle)
restoreFromBundle in interface BundlablerestoreFromBundle in class Actorpublic void satisfy(float energy)
public boolean isStarving()
public java.lang.String toString()
toString in class java.lang.Object