public void inputHandler() {
		if(Keys.isPressed(Keys.ESCAPE)) gsm.setPaused(true);
		if(blockInput || player.getHealth() == 0) return;
		player.setUp(Keys.keyState[Keys.UP]);
		player.setLeft(Keys.keyState[Keys.LEFT]);
		player.setDown(Keys.keyState[Keys.DOWN]);
		player.setRight(Keys.keyState[Keys.RIGHT]);
		player.setJumping(Keys.keyState[Keys.SPACE]);
		player.setDashing(Keys.keyState[Keys.ACTION3]);
		if(Keys.isPressed(Keys.ACTION1)) player.setAttacking();
		if(Keys.isPressed(Keys.ACTION2)) player.setCharging(); 
	}