private void checkSideCollision(Rectangle rlefth, Rectangle rrighth,
			Rectangle rleftf, Rectangle rrightf) {
		if (type != null && !(type == TileType.DIRT || type == TileType.GRASS_BOTTOM)) {
			int shift = 0;
			
			if (rlefth.intersects(r)) {
				shift = 102;
			}
			else if (rleftf.intersects(r)) {
				shift = 85;				
			}
			else if (rrighth.intersects(r)) {
				shift = -62;				
			}
			else if (rrightf.intersects(r)) {
				shift = -45;				
			}
			
			if (shift != 0) {
				robot.setCenterX(x + shift);
				robot.setSpeedX(0);
			}
		}
	}