Contents
Class AndNodeSelector
java.lang.Object
com.hypixel.hytale.builtin.hytalegenerator.graph.nodeselectors.NodeSelector
com.hypixel.hytale.builtin.hytalegenerator.graph.nodeselectors.AndNodeSelector
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondoublegetInteractionRange(double longestConnection) Returns the read range of this selector, measured from the processed node.booleanisSelected(GraphSpace graphSpace, GraphSpace.Node node)
-
Constructor Details
-
AndNodeSelector
-
-
Method Details
-
isSelected
- Specified by:
isSelectedin classNodeSelector
-
getInteractionRange
public double getInteractionRange(double longestConnection) Description copied from class:NodeSelectorReturns 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 tolongestConnectionaway owns the far end of each connected edge. If the declared range is too small, generation near region borders is nondeterministic.- Specified by:
getInteractionRangein classNodeSelector- Parameters:
longestConnection- the longest edge length that can exist in the graph at this pass
-