Repository for lakemenbane
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

24 lines
606 B

package engine.mobileAI.utilities;
1 year ago
import engine.math.Vector2f;
import engine.objects.Building;
import engine.objects.Regions;
1 year ago
import java.util.ArrayList;
public class PathingUtilities {
1 year ago
public static class Node {
public Vector2f location;
public ArrayList<Node> neighbors;
public Regions region;
public Building parentBuilding;
public Node(Vector2f loc, Regions reg, Building parent){
this.location = loc;
this.region = reg;
this.parentBuilding = parent;
1 year ago
this.neighbors = new ArrayList<>();
}
}
}