forked from MagicBane/Server
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.
23 lines
606 B
23 lines
606 B
package engine.mobileAI.utilities; |
|
import engine.math.Vector2f; |
|
import engine.objects.Building; |
|
import engine.objects.Regions; |
|
|
|
import java.util.ArrayList; |
|
|
|
public class PathingUtilities { |
|
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; |
|
this.neighbors = new ArrayList<>(); |
|
} |
|
} |
|
|
|
}
|
|
|