@Override
	public void update(double time) {
		if (Input.getKeyDown(Keyboard.KEY_W) || Input.getKeyDown(Keyboard.KEY_UP)) {
			if (selectedOption > 0) {
				selectedOption--;
			}
		}
		if (Input.getKeyDown(Keyboard.KEY_S) || Input.getKeyDown(Keyboard.KEY_DOWN)) {
			if (selectedOption < 1) {
				selectedOption++;
			}
		}

		if (Input.getKeyDown(Keyboard.KEY_RETURN)) {
			buttonPressed();
		}
	}