public boolean collision(int x, int y, int xm, int ym){
		
		for (int X = x; X < x +size; X++){
			for (int Y = y ; Y < y + size; Y++){
				if(level.getTile((X + xm) / 16, (Y + ym) / 16).solid()) return true;
			}
		}
		return false;
	}