Thief007 / swingamesdk

Automatically exported from code.google.com/p/swingamesdk
1 stars 2 forks source link

Core.rnd(int upTo) in Java does not work #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
This is how it is now:
    public static int rnd(int upTo)
    {
        return _r.nextInt();
    }

This is how it should be:
    public static int rnd(int upTo)
    {
        return _r.nextInt(upTo);
    }

What version of the product are you using? On what operating system?
Swingame 3.0 alpha (Java WinXP)

Original issue reported on code.google.com by mister.c...@gmail.com on 19 Aug 2009 at 2:32

GoogleCodeExporter commented 8 years ago
Corrected code as suggested. Will upload new version soon.

Original comment by swinbr...@gmail.com on 2 Sep 2009 at 11:24