@Override
	protected void movement() {
		if(KeyManager.keyPressed(Key.LEFT) && !collidingWithWall() && !collidingWithWallRight()){
			walk(-walkingFactor);
		} else if(KeyManager.keyPressed(Key.RIGHT) && !collidingWithWall() && !collidingWithWallLeft()){
			walk(walkingFactor);
		} else {
			walking = false;
		}
		if(KeyManager.keyPressed(Key.CROUCH)){
			crouch = true;
		} else crouch = false;
		if(KeyManager.keyPressed(Key.ACTION)){
			action = true;
		} else action = false;
		if((!jumping && collidingWithGround() && !crouch) || collidingWithLadder() || !collidable){
			if(Keyboard.isKeyDown(Keyboard.KEY_SPACE)){
				jumping = true;
			}
		}	
		if(KeyManager.keyPressed(Key.BLINK)){
			blink = true;
			blinkVisibleFactor = blinkVisibleMax;
		}
	}