java.lang.Object
de.metaphoriker.pathetic.api.wrapper.Depth

public class Depth extends Object
Represents the depth of a pathfinding node or element. This class provides methods to get and increment the depth value.
  • Method Details

    • of

      public static Depth of(int value)
    • increment

      public void increment()
      Increments the depth value by one.
    • getValue

      public int getValue()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object