Libgdx Tiled Map A* Pathfinding

Hello I have recently started working on my new game, I am using the Tiled Map Editor (http://www.mapeditor.org/) and I am extremely confused on how to get Path finding working as the tuts on the internet haven’t been helping me

This is what my map looks like aswell as where the players are

http://s22.postimg.org/wfxsk2ydd/Untitled.png

here is my code so far

public class Pathfinder {

	private TiledMap map;
	private List open;
	private List closed;
	
	public Pathfinder(TiledMap map) {
		this.setMap(map);
		setOpen(new List());
		setClosed(new List());
	}

	public TiledMap getMap() {
		return map;
	}

	public void setMap(TiledMap map) {
		this.map = map;
	}

	public List getOpen() {
		return open;
	}

	public void setOpen(List open) {
		this.open = open;
	}

	public List getClosed() {
		return closed;
	}

	public void setClosed(List closed) {
		this.closed = closed;
	}
}

These are the tuts I have looked at


http://www.policyalmanac.org/games/aStarTutorial.htm

  • youtube