public void checkVerticalCollision() {
		if (tileBoundary.intersects(hero.getBoundaries().get(
				Player.ENTIRE_PLAYER))) {
			switch (type) {
			case GROUND:
				hero.setJumped(false);
				if (hero.getSpeedX() == 0 && !hero.isDucked()) {
					hero.setSpriteAction(ActionState.STANDING);
				} else if (hero.getSpeedX() > 0)
					hero.setSpriteAction(ActionState.WALKING_RIGHT);
				else if (hero.getSpeedX() < 0)
					hero.setSpriteAction(ActionState.WALKING_LEFT);
				hero.setSpeedY(0);
				hero.setCenterY(tileY - 19);
				// System.out.println("player collided with ground or dir");
				break;
			case CEILING:
				hero.setCenterY(tileY + 63);
				// System.out.println("player collided with ceiling");
				break;
			}
		}
	}