public class

Random

extends Object
java.lang.Object
   ↳ casmi.util.Random

Summary

Public Constructors
Random()
Public Methods
final static Vector3D randVertex2d()
returns a random Vertex that represents a point on the unit circle
final static float random(float max)
final static float random(float min, float max)
final static int random(int max)
final static int random(int min, int max)
final static void setSeed(long seed)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public Random ()

Public Methods

public static final Vector3D randVertex2d ()

returns a random Vertex that represents a point on the unit circle

Returns
  • vertex

public static final float random (float max)

public static final float random (float min, float max)

public static final int random (int max)

public static final int random (int min, int max)

public static final void setSeed (long seed)