Guest User

Untitled

a guest
Jan 21st, 2018
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. int difficulty;
  2.  
  3. public int diffRec() {
  4. // diff = difficulty;
  5.  
  6. switch (comboDifficulty.getSelectedIndex()) {
  7. case 0:
  8. difficulty = 0;
  9. break;
  10. case 1:
  11. difficulty = 1;
  12. break;
  13. case 2:
  14. difficulty = 2;
  15. break;
  16. default:
  17. break;
  18. }
  19. return (difficulty);
  20.  
  21. }
  22.  
  23. public ClickingGame() {
  24.  
  25. initComponents();
  26. }
Add Comment
Please, Sign In to add comment