Skip to main content
gamedev.net
🔒 Locked

Randimizing in java?

Started by dojo 1 reply 750+ views
Original Post
dojo
dojo
Can someone tell me the code for randimizing 2 numbers in java,im wanting to do something a bit like this randimize 1 and 2 if (ranimize 1) boolean red = true; else boolean balck = faluse; but i just dont know how to randimize so could someone show me please.Thankyou
dojo
dojo
Thankyou:)Does are for applets right

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.