public void move(double dt) {
		player.move(dt);

		switch (player.motion) {
		case FALLING:
			if (player.v.y >= 0)
				return;
			
			for(Platform platform : platforms) {
				if (!platform.xIntersec(player.loc.x)) {
	//				System.out.println("player at " + player.loc + " does not X intersect with " + platform);
					continue;
				}
				
				if (!platform.yIntersec(player.loc.y)) {
//					System.out.println("player at " + player.loc + " does not Y intersect with " + platform);
					continue;
				}

				// land!
				player.land(platform);
			}
			break;
		case WALKING:
			// check if there's air underneath!
			if (!player.support.xIntersec(player.loc.x)) {
				player.fall();
			}
		}
	}