public void update() {
		if(Keyboard.isPressed(getKey())) {
			setPressed(true);
			setReleased(false);
		} else {
			if(isPressed())
				setReleased(true);
			else
				setReleased(false);
			setPressed(false);
			setHeld(false);
		}
			
	}