Class AllNodeSelector

java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.graph.nodeselectors.NodeSelector
com.hypixel.hytale.builtin.hytalegenerator.graph.nodeselectors.AllNodeSelector

public class AllNodeSelector extends NodeSelector
  • Field Details

  • Constructor Details

    • AllNodeSelector

      public AllNodeSelector()
  • Method Details

    • isSelected

      public boolean isSelected(@Nonnull GraphSpace graphSpace, @Nonnull GraphSpace.Node node)
      Specified by:
      isSelected in class NodeSelector
    • getInteractionRange

      public double getInteractionRange(double longestConnection)
      Description copied from class: NodeSelector
      Returns the read range of this selector, measured from the processed node. The range must cover the farthest graph state this selector reads. A node up to longestConnection away owns the far end of each connected edge. If the declared range is too small, generation near region borders is nondeterministic.
      Specified by:
      getInteractionRange in class NodeSelector
      Parameters:
      longestConnection - the longest edge length that can exist in the graph at this pass