atavism.server.pathing
Class RoomPathSearcher
java.lang.Object
atavism.server.pathing.RoomPathSearcher
public class RoomPathSearcher
- extends java.lang.Object
Method Summary |
protected static PathIntersection |
findFirstObstacle(AOVector loc1,
AOVector loc2,
PathPolygon room,
java.util.List<PathPolygon> obstacles)
|
protected static AOVector |
findPathAroundObstacle(PathIntersection intersection,
AOVector loc1,
AOVector loc2,
PathPolygon room,
float halfWidth)
|
static java.util.List<AOVector> |
findPathInRoom(AOVector loc1,
AOVector loc2,
Quaternion endOrientation,
PathPolygon room,
java.util.List<PathPolygon> obstacles,
float playerWidth)
|
protected static java.util.List<PathPolygon> |
getElementsBetween(AOVector loc1,
AOVector loc2,
java.util.List<PathPolygon> obstacles)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
protected static final Logger log
RoomPathSearcher
protected RoomPathSearcher()
findPathInRoom
public static java.util.List<AOVector> findPathInRoom(AOVector loc1,
AOVector loc2,
Quaternion endOrientation,
PathPolygon room,
java.util.List<PathPolygon> obstacles,
float playerWidth)
findFirstObstacle
protected static PathIntersection findFirstObstacle(AOVector loc1,
AOVector loc2,
PathPolygon room,
java.util.List<PathPolygon> obstacles)
findPathAroundObstacle
protected static AOVector findPathAroundObstacle(PathIntersection intersection,
AOVector loc1,
AOVector loc2,
PathPolygon room,
float halfWidth)
getElementsBetween
protected static java.util.List<PathPolygon> getElementsBetween(AOVector loc1,
AOVector loc2,
java.util.List<PathPolygon> obstacles)