|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.lib.properties.Invisible
Encapsulates the various definitions and types of invisibility.
Field Summary | |
static int |
ENGINE_OBJECT
A game-engine object; non-wizards should never see these. |
static int |
INVISIBLE
Plain-vanilla invisibility - actually any positive number. |
static int |
TRAP
A hidden trap - should be undetectable by see-invisible. |
static int |
VISIBLE
the default invisibility level (visible) is zero, in keeping with the semantics of int properties. |
Constructor Summary | |
Invisible()
|
Method Summary | |
static void |
becomeInvisible(GameObject obj)
|
static void |
becomeVisible(GameObject obj)
|
static boolean |
decrease(GameObject obj)
Decrease the invisibilty of an object. |
static boolean |
increase(GameObject obj)
Increase the invisibilty of an object. |
static void |
playerMessage(GameObject obj,
java.lang.String msg)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int VISIBLE
public static final int INVISIBLE
public static final int TRAP
public static final int ENGINE_OBJECT
Constructor Detail |
public Invisible()
Method Detail |
public static boolean increase(GameObject obj)
public static boolean decrease(GameObject obj)
public static void playerMessage(GameObject obj, java.lang.String msg)
public static void becomeVisible(GameObject obj)
public static void becomeInvisible(GameObject obj)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |