Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main' into tests
Browse files Browse the repository at this point in the history
  • Loading branch information
nab138 committed Jul 17, 2024
2 parents a92ba83 + f6bd145 commit 0d1225d
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Pathfinding/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ plugins {
}

group 'me.nabdev.pathfinding'
version '0.12.2'
version '0.12.4'

java {
withSourcesJar()
Expand Down Expand Up @@ -59,4 +59,4 @@ publishing {
}
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -340,4 +340,22 @@ public ArrayList<Edge> getNeighbors() {
public ArrayList<Edge> getNeighborsStatic() {
return neighborsStatic;
}
}

/**
* Get the obstacles for the current map
*
* @return the obstacles of the current map
*/
public ArrayList<Obstacle> getObstacles() {
return obstacles;
}

/**
* Get all obstacle edges which could actually obstruct the robot
*
* @return all obstacle edges that could obstruct the robot
*/
public ArrayList<Edge> getValidObstacleEdges() {
return validObstacleEdges;
}
}

0 comments on commit 0d1225d

Please sign in to comment.