public void applyForce(float x, float y) {
		body.addForce(new Vector2f(x * vitesseX, y));

		// if the force applied is up into the air the actor is
		// considered to be jumping
		if (y < 0) {
			saut = true;
		}

		// if the actor has just changed direction kill the x velocity
		// cause thats what happens in platformers
		if (x > 0) {
			if (!directionDroite) {
				setVelocity(0, getVelY());
			}
			directionDroite = true;
		}
		if (x < 0) {
			if (directionDroite) {
				setVelocity(0, getVelY());
			}
			directionDroite = false;
		}
	}