Class ScaledPointGenerator
java.lang.Object
com.hypixel.hytale.procedurallib.logic.point.ScaledPointGenerator
- All Implemented Interfaces:
IPointGenerator
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.hypixel.hytale.procedurallib.logic.point.IPointGenerator
IPointGenerator.PointConsumer2d -
Field Summary
Fields -
Constructor Summary
Constructors -
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
-
scale
protected final double scale
-
-
Constructor Details
-
ScaledPointGenerator
-
-
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
-