Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 02 Sep 2007
Offline Last Active Feb 17 2015 04:02 PM

#4980770 Help me figure out what I'm doing wrong, please!

Posted by mattnenterprise on 16 September 2012 - 08:53 PM

You forgot to initialize rand. you should initialize in every constructor. It should look like this.
rand = new Random();