public void update(GameState pauseState, GameContainer gc,  Map m){
		Input input = gc.getInput();
		int x = input.getMouseX();
		int y = input.getMouseY();
		Rectangle r = new Rectangle(x,y,2,2);
		if(r.intersects(resume)){
			if(gc.getInput().isMousePressed(Input.MOUSE_LEFT_BUTTON)){
				visible = false;
			}
			innerColors[0] = Color.white;
			outerColors[0] = Color.black;
		}else{
			innerColors[0] = Color.black;
			outerColors[0] = Color.white;
		}
		
		if(r.intersects(levelSelect)){
			if(gc.getInput().isMousePressed(Input.MOUSE_LEFT_BUTTON)){
				ob.levelSelect();
			}
			innerColors[1] = Color.white;
			outerColors[1] = Color.black;
		}else{
			innerColors[1] = Color.black;
			outerColors[1] = Color.white;
		}
		
		
		if(r.intersects(settings)){
			if(gc.getInput().isMousePressed(Input.MOUSE_LEFT_BUTTON)){
				ob.settings();
			}
			innerColors[2] = Color.white;
			outerColors[2] = Color.black;
		}else{
			innerColors[2] = Color.black;
			outerColors[2] = Color.white;
		}
		
		if(r.intersects(exit)){
			if(gc.getInput().isMousePressed(Input.MOUSE_LEFT_BUTTON)){
				ob.exit();
			}
			innerColors[3] = Color.white;
			outerColors[3] = Color.black;;
		}else{
			innerColors[3] = Color.black;
			outerColors[3] = Color.white;
		}
	}