private void FindNodes() {
		if (current.loc.x-1>=0&&unit.PathCheck(current.loc.x-1, current.loc.y)) {
			AddNode(current.loc.x-1,current.loc.y);
		}
		if (current.loc.y-1>=0&&unit.PathCheck(current.loc.x, current.loc.y-1)) {
			AddNode(current.loc.x,current.loc.y-1);
		}
		if (current.loc.x+1<Game.map.width&&unit.PathCheck(current.loc.x+1, current.loc.y)) {
			AddNode(current.loc.x+1,current.loc.y);
		}
		if (current.loc.y+1<Game.map.height) {
			if (unit.PathCheck(current.loc.x, current.loc.y+1)) {
				AddNode(current.loc.x,current.loc.y+1);
			}
		}
	}