public void update() {
		int x = Main.m.input.mouse.getX();
		int y = Display.getHeight() - Main.m.input.mouse.getY();
		mouseOver = mouseDown = mouseClicked = false;
		if (x >= posX && x <= posX + width && y >= posY && y <= posY + height) {
			mouseOver = true;
			if (Main.m.input.mouse.isDown(0))
				mouseDown = true;
			mouseClicked = Main.m.input.mouse.checkButton(0);
			if (mouseClicked)
				parentMenu.componentAction(this);
		}
	}