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

2017/4/25

KEYPRESS_LIMIT

Trevor713 Trevor713

2017/4/25

#
If you were to change KEYPRESS_LIMIT to increasing values like 20,30,40 etc. What observations would be noticeably different? final int KEYPRESS_LIMIT = 10; private int Counter = 0; if(Counter >= KEYPRESS_LIMIT) { Greenfoot.playSound( whiteNotes +".wav"); Counter = 0;
You need to login to post a reply.