public void move(Map currentMap){
		double xm = Math.cos(heading*Math.PI)*vel;
		double ym = Math.sin(heading*Math.PI)*vel;

		if(!currentMap.locWalkable(x+xm, y+ym)){
			heading+=1;
		}
		if(currentMap.locWalkable(x+xm, y)){
			x += xm;
		}
		if(currentMap.locWalkable(x, y+ym)){
			y += ym;
		}
	}