Class PathEnvironment
java.lang.Object
de.metaphoriker.pathetic.api.wrapper.PathEnvironment
Represents the environment in which pathfinding operations take place. This class encapsulates
properties of the environment that can influence pathfinding, such as the environment's unique
identifier, name, and height constraints.
-
Constructor Summary
ConstructorsConstructorDescriptionPathEnvironment
(UUID uuid, String name, Integer minHeight, Integer maxHeight) Constructs aPathEnvironment
with the specified attributes. -
Method Summary
-
Constructor Details
-
PathEnvironment
Constructs aPathEnvironment
with the specified attributes.- Parameters:
uuid
- The unique identifier for this environment.name
- The name of this environment.minHeight
- The minimum height within this environment. Can benull
if there is no minimum height.maxHeight
- The maximum height within this environment. Can benull
if there is no maximum height.
-
-
Method Details
-
equals
-
hashCode
public int hashCode() -
getUuid
Get the unique identifier of this environment. -
getName
Get the name of this environment. -
getMinHeight
Get the min height of this environment. -
getMaxHeight
Get the max height of this environment. -
toString
-