public BlockMap(String tileMap, Portal entryPortal, Portal exitPortal) throws SlickException	{
		colideableBlocks = new ArrayList<Block>();
		this.tileMap = new TiledMap(tileMap);
		setMapWidth(this.tileMap.getWidth() * this.tileMap.getTileWidth());
	    setMapHeight(this.tileMap.getHeight() * this.tileMap.getTileHeight());
	    this.entryPortal = entryPortal;
	    this.exitPortal = exitPortal;
		
	    for (int x = 0; x < this.tileMap.getWidth(); x++) {
	        for (int y = 0; y < this.tileMap.getHeight(); y++) {
	        	int tileId = this.tileMap.getTileId(x, y, 0);
	        	if(this.tileMap.getTileProperty(tileId, "blocked", "false").equals("true"))	{
	        		colideableBlocks.add(new Block(x * 16, y* 16, blockSize, "Block", 1.0));
	        	}
	        	
	        }
	    }
	}