net.jetrix.tools
Class TetrinetRandomGenerator
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TetrinetRandomGenerator
public TetrinetRandomGenerator(int seed)
getValue
public long getValue()
nextInt
public int nextInt(int L)
Copyright © 2001-2010. All Rights Reserved.