src/jtwod/engine/metrics/Vector.java
public final static Vector Random(Vector max)
    {
        Random r = new Random();
        return new Vector(r.nextInt(max.x + 1), r.nextInt(max.y + 1));
    }
/**
     * Retrieve a random vector.
     * Note: Minimum will automatically go to 0,0.
     *
     * @param max The maximum that the Vector can be.
     * @return The random Vector.
     */
Retrieve a random vector.
Note: Minimum will automatically go to 0,0.

@param max The maximum that the Vector can be.
@return The random Vector.
Retrieve a random vector . Note : Minimum will automatically go to 0 0 . @param max The maximum that the Vector can be . @return The random Vector .
public final static Vector Random(Vector max)
    {
        Random r = new Random();
        return new Vector(r.nextInt(max.x + 1), r.nextInt(max.y + 1));
    }
public final static Vector Random ( Vector max ) { Random r = new Random ( ) ; return new Vector ( r . nextInt ( max . x + 1 ) , r . nextInt ( max . y + 1 ) ) ; }
Retrieve a random vector.
Retrieve a random vector .