Class Depth
java.lang.Object
de.bsommerfeld.pathetic.api.wrapper.Depth
Represents the depth of a pathfinding node or element. This class provides methods to get and
increment the depth value.
-
Method Details
-
of
Creates a newDepthinstance with the specified value.- Parameters:
value- The initial depth value.- Returns:
- A new
Depthinstance.
-
increment
public void increment()Increments the depth value by one. -
getValue
Deprecated.Returns the current depth value.- Returns:
- The current depth value.
-
value
public int value()Returns the current depth value.- Returns:
- The current depth value.
-
equals
-
canEqual
-
hashCode
public int hashCode()
-
value()