|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectxdat.GFuncs
public class GFuncs
Contains generic functions that can be used by other classes.
| Constructor Summary | |
|---|---|
GFuncs()
|
|
| Method Summary | |
|---|---|
static int |
randomNr(int max,
int seed)
Generates a random Integer between 0 and max, using seed seed |
static void |
wait_ms(int ms)
Waits for a user-specified number of milliseconds. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GFuncs()
| Method Detail |
|---|
public static int randomNr(int max,
int seed)
max - the maximum value for the randomseed - the seed
public static void wait_ms(int ms)
ms - the number of milliseconds to wait
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||