Class DistortedPointGenerator
java.lang.Object
com.hypixel.hytale.procedurallib.logic.point.DistortedPointGenerator
- All Implemented Interfaces:
IPointGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.hypixel.hytale.procedurallib.logic.point.IPointGenerator
IPointGenerator.PointConsumer2d -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final ICoordinateRandomizerprotected final IPointGenerator -
Constructor Summary
ConstructorsConstructorDescriptionDistortedPointGenerator(IPointGenerator pointGenerator, ICoordinateRandomizer coordinateRandomizer) -
Method Summary
Modifier and TypeMethodDescriptionvoidcollect(int seed, double minX, double minY, double maxX, double maxY, IPointGenerator.PointConsumer2d consumer) booleandoubleinthashCode()nearest2D(int seed, double x, double y) nearest3D(int seed, double x, double y, double z) toString()transition2D(int seed, double x, double y) transition3D(int seed, double x, double y, double z)
-
Field Details
-
pointGenerator
-
coordinateRandomizer
-
-
Constructor Details
-
DistortedPointGenerator
public DistortedPointGenerator(IPointGenerator pointGenerator, ICoordinateRandomizer coordinateRandomizer)
-
-
Method Details
-
nearest2D
- Specified by:
nearest2Din interfaceIPointGenerator
-
nearest3D
- Specified by:
nearest3Din interfaceIPointGenerator
-
transition2D
- Specified by:
transition2Din interfaceIPointGenerator
-
transition3D
- Specified by:
transition3Din interfaceIPointGenerator
-
getInterval
public double getInterval()- Specified by:
getIntervalin interfaceIPointGenerator
-
collect
public void collect(int seed, double minX, double minY, double maxX, double maxY, IPointGenerator.PointConsumer2d consumer) - Specified by:
collectin interfaceIPointGenerator
-
equals
-
hashCode
public int hashCode() -
toString
-