Advertisement
Guest User

Untitled

a guest
Jan 26th, 2015
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.07 KB | None | 0 0
  1. while(test)
  2. {
  3. if (req == 1 || req == 2 || req == 3)
  4. {
  5. nTimes = dialog.readInt("Times to reproduce the effect in animation: ");
  6. }
  7. switch (req)
  8. {
  9.  
  10. case 0:
  11. System.exit(0);
  12. test = false;
  13. break;
  14. case 1:
  15. //nTimes = dialog.readInt("Times to reproduce the effect in animation: ");
  16. this.drawReq1(nTimes);
  17. this.removeAll();
  18. break;
  19. case 2:
  20. this.drawReq2(nTimes);
  21. this.removeAll();
  22. break;
  23. case 3:
  24. this.drawReq3(nTimes);
  25. this.removeAll();
  26. break;
  27. case 4:
  28. this.drawReq4();
  29. this.removeAll();
  30. break;
  31. }
  32.  
  33. //Bubbles b = new Bubbles(150, false);
  34. //RandomGenerator r = new RandomGenerator();
  35. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement