Which Is The Best Way Of Creating Random Value ???

Posted by Meko on Stack Overflow See other posts from Stack Overflow or by Meko
Published on 2010-03-20T20:11:39Z Indexed on 2010/03/20 20:21 UTC
Read the original article Hit count: 280

Filed under:
|
|

I am triying to create random value for my game to show enemies on screen. BUt it some times shows 2 together some times 3 ...I want to ask that which is the best formul for creating random value.. This is my so far random value

 random = 1 * (int) (Math.random() * 100);

© Stack Overflow or respective owner

Related posts about java

Related posts about game