public void updateBlocks(float delta) {
		for (Block b : blocks) {
			b.update(delta, blockSpeed);

			if (b.isVisible()) {
				if ((player.isDucked() && b.getRect().intersects(
						player.getDuckRect()))
						|| (!player.isDucked() && b.getRect().intersects(
								player.getRect()))) {
					b.onCollide(player);
				}
			}
		}
	}