|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.lib.properties.Encumbrance
Constants defining the valid levels of player/monster encumbrance. Encumbrance is how slowed down a monster is from carrying too much stuff.
Field Summary | |
static int |
BURDENED
Indicates the player is slowed down even more because of inventory load. |
static int |
ENCUMBERED
Indicates the player is slowed down because of inventory load. |
static int |
IMMOBILIZED
Indicates the player cannot move because they are carrying too much stuff. |
static int |
STRAINED
Indicates the player is heavily slowed because of inventory load. |
static int |
UNENCUMBERED
This flag indicates that the player is not slowed down by the stuff they're carrying. |
Constructor Summary | |
Encumbrance()
|
Method Summary | |
static java.lang.String |
getLoadChangeMessage(int load)
Returns message to print when switching to a given encumbrance level. |
static java.lang.String |
getLoadTitle(int load)
Returns the name for the given load level, such as "burdened" or "strained". |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int UNENCUMBERED
public static int ENCUMBERED
public static int BURDENED
public static int STRAINED
public static int IMMOBILIZED
Constructor Detail |
public Encumbrance()
Method Detail |
public static java.lang.String getLoadChangeMessage(int load)
load
- the Encumbrance level
public static java.lang.String getLoadTitle(int load)
load
- the load level
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |