|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object wyvern.lib.classes.random.RandomTreasure
Generates random treasure (gems and coins).
Constructor Summary | |
RandomTreasure()
|
Method Summary | |
static void |
main(java.lang.String[] args)
Tests the class. |
static GameObject |
randomTreasure(int level)
Generates treasure of the passed level. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RandomTreasure()
Method Detail |
public static GameObject randomTreasure(int level)
level
- the level of treasure to generate
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |