private void changeResolution(boolean faster){
  if (faster) {
    currentResolution-=5;
  }
 else {
    currentResolution+=5;
  }
  currentResolution=Math.max(currentResolution,0);
  currentResolution=Math.min(currentResolution,500);
  startTimer(currentResolution);
}

private void changeResolution ( boolean faster ) { if ( faster ) { currentResolution -= 5 ; } else { currentResolution += 5 ; } currentResolution = Math . max ( currentResolution , 0 ) ; currentResolution = Math . min ( currentResolution , 500 ) ; startTimer ( currentResolution ) ; }
moves the frame rate up or down by changing the timer resolution
