Class Collisions
- java.lang.Object
-
- org.rspeer.game.movement.pathfinding.Collisions
-
public class Collisions extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classCollisions.Reachability
-
Constructor Summary
Constructors Constructor Description Collisions()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static booleancanReach(SceneNode node)static booleancanReach(Collisions.Reachability reachability, Position src, SceneNode node)static PositiongetInteractablePosition(SceneNode node)static PositiongetInteractablePosition(Position p)static Set<Position>getReachablePositions()static PositionQuerygetReachableQuery()static booleanisInteractable(SceneNode node)static booleanisInteractable(Position node)static booleanisReachable(Collisions.Reachability reachability, Position src, Position target)static booleanisReachable(Position position)
-
-
-
Method Detail
-
canReach
public static boolean canReach(SceneNode node)
-
canReach
public static boolean canReach(Collisions.Reachability reachability, Position src, SceneNode node)
-
isReachable
public static boolean isReachable(Position position)
-
isReachable
public static boolean isReachable(Collisions.Reachability reachability, Position src, Position target)
-
isInteractable
public static boolean isInteractable(SceneNode node)
-
isInteractable
public static boolean isInteractable(Position node)
-
getReachableQuery
public static PositionQuery getReachableQuery()
-
-