bluegammon.gui
Class BGMath
java.lang.Object
bluegammon.gui.BGMath
- public class BGMath
- extends java.lang.Object
BGMath.java
- Author:
- Peter Andersson
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
setRandomSeed
public static void setRandomSeed(long seed)
random
public static int random()
randomFloat
public static float randomFloat()
blendColors
public static int blendColors(int col1,
int col2,
int i)
loadSeed
public static int loadSeed(java.io.DataInputStream dis)
throws java.io.IOException
- Parameters:
dis
-
- Throws:
java.io.IOException
saveSeed
public static int saveSeed(java.io.DataOutputStream dos)
throws java.io.IOException
- Throws:
java.io.IOException