Package me.nabdev.pathfinding.utilities
Class FieldLoader.ObstacleData
java.lang.Object
me.nabdev.pathfinding.utilities.FieldLoader.ObstacleData
- Enclosing class:
- FieldLoader
Temporary data structure for holding obstacle data
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObstacleData
(ArrayList<Integer[]> edges, String id, ModifierCollection modifiers) Creates a new ObstacleData -
Method Summary
-
Field Details
-
edges
The edges of the obstacle. Each edge is an array of two integers, the indices of the vertices in the field data. -
id
The id of the obstacle -
modifiers
The modifiers on this obstacle
-
-
Constructor Details
-
ObstacleData
Creates a new ObstacleData- Parameters:
edges
- The edges of the obstacleid
- The id of the obstaclemodifiers
- The modifiers on this obstacle
-