public void mouseClicked(MouseEvent e) {
            if(paused){
        		if(buttons.get(0).isInside(e.getX(), e.getY())){
                    paused=false;
                    leftPressed = false;
                    rightPressed = false;
                    firePressed = false;
                    bombPressed = false;
                    epicPressed=false;
                    buttons.get(0).changeAll(720, 40, 75, 15, "Pause(P)", Color.DARK_GRAY,Color.LIGHT_GRAY,Color.BLACK);
    	        	buttons.get(1).changeMouseOver(false);
        	        buttons.get(1).changeActive(false);
        		}
            	
            } else {
        		if(buttons.get(0).isInside(e.getX(), e.getY())){
                    if(!waitingForKeyPress) {
                            paused=true;
                            buttons.get(0).changeAll(365, 350, 70, 15, "Unpause(P)", Color.DARK_GRAY,Color.LIGHT_GRAY,Color.BLACK);
            	        	buttons.get(1).changeMouseOver(false);
                	        buttons.get(1).changeActive(true);
                    }
        			
        		}
            }
        	if(buttons.get(1).isInside(e.getX(), e.getY())){
        		if(!waitingForKeyPress) {
                    if(mouseControls&&buttons.get(1).isActive()){
                    	mouseControls=false;
                    	buttons.get(1).changeText("Mouse Controls");
                    } else {
                    	mouseControls=true;
                    	buttons.get(1).changeText("Key Controls");
                    }
                }
        			
        	}
    	}