public void render(Graphics g) {
		if (active) {
			if (img != null) {
				boolean hover = checkMouse(InputHandler.getInstance().getMouseHoverPoint());

				if (hover)
					g.drawImage(img, x, y, width, height, Color.darkGray, null);
				else
					g.drawImage(img, x, y, width, height, null);

			}
			if (text != null) {
				g.setColor(Color.white);
				g.drawRect(x, y, width, height);
				g.drawString(text, x + 10, y + 15);
			}
		}
	}