public void tick(InputHandler input) {
		if(input.keys[KeyEvent.VK_A]) {
			this.xa -= ACCELERATION;
		} else if(input.keys[KeyEvent.VK_D]) {
			this.xa += ACCELERATION;
		}
		
		boolean jumped = false;
		if(input.keys[KeyEvent.VK_W]) {
			if(onGround) {
				this.ya -= JUMP;
				jumped = true;
			} else
				this.ya -= this.mass / 10;
		}
		
		this.ya += Level.GRAVITY * mass;
		
		if(jetpack != null) { 
			if(input.keys[KeyEvent.VK_SPACE]) {
				jetpack.activate();
			} else {
				jetpack.deactivate();
			}
		}
		
		if(this.ya > TERMINAL_VELOCITY) this.ya = TERMINAL_VELOCITY;
		
		boolean wasCollidingY = collidedY;
		onGround = false;
		collidedX = false;
		collidedY = false;
		tryMove();
		
		// This statement is to prevent the jump noise from being spammed while attached to a CleanerBot
		if(jumped && wasCollidingY)
			Sounds.jump.play();
		
		this.xa *= DECELERATION;
	}