public void actionPerformed(ActionEvent evt) {
		int runTime = (int) ((System.currentTimeMillis()/10) - MusicGameBoard.getStartTime() - MusicGameBoard.getPauseTime());
		if(MusicGameBoard.getBeats().get(MusicGameBoard.ray.beatsSoFar) == runTime + 10) { 
				MusicGameBoard.ray.switchDirection();
				MusicGameBoard.ray.beatsSoFar++;
		}
		if(MusicGameBoard.ray.getMoving() == true) {
		if(MusicGameBoard.ray.getDirection() == 1) {
			MusicGameBoard.ray.addStartAngle(1);
			MusicGameBoard.ray.addEndAngle(1);
		}
		else {
			MusicGameBoard.ray.addStartAngle(-1);
			MusicGameBoard.ray.addEndAngle(-1);
			
		}
	}
		MusicGameBoard.ray.arc.setAngleStart(MusicGameBoard.ray.getStartAngle());
}