This site requires JavaScript, please enable it in your browser!
Greenfoot back
Ben&Sam
Ben&Sam wrote ...

2014/11/10

Saving an integer

Ben&Sam Ben&Sam

2014/11/10

#
I have a random number generator and I am struggling to make the numbers correspond to the pieces moving. I figured if i could save the integer and call upon it later it would be easy enough, not really sure what to do. Should i save the integer into the world. Any suggestions?
danpost danpost

2014/11/10

#
It would help if you show what you have tried (use the 'code' link below the reply box for posting code). The code for the pieces might be important; how many pieces created (or moving) might help; any extra information regarding what you are trying to accomplish (in general) might also help.
You need to login to post a reply.