public void loadMap(int x0, int y0, int x1, int y1){
		Sprite sprite = Sprites.level[x0][y0];
		
		for(int y = 0; y < sprite.h; y++){
			for(int x = 0; x < sprite.w; x++){
				if(sprite.pixels[x + y * sprite.h] == -9276814){
					tiles[x + x1 + (y + y1) * h] = Tile.rockTile.id;
				}else{
					tiles[x + x1 + (y + y1) * h] = Tile.grassTile.id;
				}
			}
		}
	}