public void update() {
		if (active){
		vy+=Player.ACCELERATION/Level.speed();
		vx=(float) Math.max(Math.min(12, vx), -12);
		vy=Math.max(Math.min(7/Level.speed(), vy), -7/Level.speed());
		vx*=Math.pow(.9,1/Level.speed());
		x+=vx;
		y+=vy;
		}
	}