net.jetrix.tools
Class TetrinetRandomGenerator

java.lang.Object
  extended by net.jetrix.tools.TetrinetRandomGenerator

public class TetrinetRandomGenerator
extends Object

Random number generator used by Tetrinet (ie. the Random() function in Delphi)

Version:
$Revision: 743 $, $Date: 2008-08-27 11:22:05 +0200 (Wed, 27 Aug 2008) $
Author:
Emmanuel Bourg

Constructor Summary
TetrinetRandomGenerator(int seed)
           
 
Method Summary
 long getValue()
           
 int nextInt(int L)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TetrinetRandomGenerator

public TetrinetRandomGenerator(int seed)
Method Detail

getValue

public long getValue()

nextInt

public int nextInt(int L)


Copyright © 2001-2010. All Rights Reserved.