|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectgames.strategy.engine.random.RemoteRandom
public class RemoteRandom
| Constructor Summary | |
|---|---|
RemoteRandom(IGame game)
|
|
| Method Summary | |
|---|---|
int[] |
generate(int max,
int count,
java.lang.String annotation,
VaultID remoteVaultID)
Generate a random number, and lock it in the vault. |
static java.util.List<VerifiedRandomNumbers> |
getVerifiedRandomNumbers()
|
void |
verifyNumbers()
unlock the random number last generated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteRandom(IGame game)
id - | Method Detail |
|---|
public static java.util.List<VerifiedRandomNumbers> getVerifiedRandomNumbers()
public int[] generate(int max,
int count,
java.lang.String annotation,
VaultID remoteVaultID)
IRemoteRandom
generate in interface IRemoteRandomremoteVaultID - - the vaultID where the server has stored his numbers
public void verifyNumbers()
IRemoteRandom
verifyNumbers in interface IRemoteRandom
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||