public TileMap(String file, GamePanel gp) {
		tiles = new ArrayList <BufferedImage> ();
		trashCanTiles = new ArrayList <Point> ();
		trashTiles = new ArrayList <ArrayList <Point>> ();
		spikeTiles = new ArrayList <Point> ();
		enemySpawns = new ArrayList <Point> ();
		for (int i = 0; i < 4; i++) {
			trashTiles.add(new ArrayList <Point>());
			trashCanTiles.add(new Point(-1, -1));
		}
		
		trashTilesTotal = 0;
		trashTilesTypeTotal = new int[4];
		
		for(int i=0; i<3; i++){
			trashTilesTypeTotal[i]=0;
		}
		
		loadMap("maps/" + file);
		getTiles(gp.getImageLoader());
		
		System.out.println("Background tile: " + backgroundTile);
		
		for (int y = map[0].length / 2; y < map[0].length; y++) {
			for (int x = 0; x < map.length; x++) {
				if (map[x][y] == EMPTY_TILE) {
					map[x][y] = backgroundTile;
				}
			}
		}
	}