@Override
	public void update(GameContainer gc, StateBasedGame sbg, int delta) throws SlickException {
		// create input
		Input input = gc.getInput();
		int mouseY = input.getMouseY();
		int mouseX = input.getMouseX();

		// reset hasBeenPressed
		if (!input.isMouseButtonDown(Input.MOUSE_LEFT_BUTTON))
			hasBeenPressed = false;

		// execute click behavior
		if (input.isMouseButtonDown(Input.MOUSE_LEFT_BUTTON) && !hasBeenPressed) {
			for (MenuOption op : menuOptions) {
				if (op.contains(mouseX, mouseY))
					op.executeBehavior(mouseX, mouseY);
			}
			hasBeenPressed = true;
		}

		// update options
		for (MenuOption op : menuOptions)
			op.update(gc, sbg, delta);

	}