Contents
- Description
- Nested Class Summary
- Constructor Summary
- Method Summary
- Constructor Details
- Method Details
- nearest2D(int, double, double)
- nearest3D(int, double, double, double)
- transition2D(int, double, double)
- transition3D(int, double, double, double)
- getInterval()
- collect(int, double, double, double, double, IPointGenerator.PointConsumer2d)
- collect0(int, double, double, double, double, PointConsumer, IPointGenerator.PointConsumer2d)
- equals(Object)
- hashCode()
- toString()
Class PointGenerator
java.lang.Object
com.hypixel.hytale.procedurallib.logic.point.PointGenerator
- All Implemented Interfaces:
IPointGenerator
- Direct Known Subclasses:
SeedResourcePointGenerator
- Since:
- 29.06.2017
-
Nested Class Summary
Nested classes/interfaces inherited from interface IPointGenerator
IPointGenerator.PointConsumer2d -
Constructor Summary
ConstructorsConstructorDescriptionPointGenerator(int seedOffset, CellDistanceFunction cellDistanceFunction, PointEvaluator pointEvaluator) -
Method Summary
Modifier and TypeMethodDescriptionvoidcollect(int seed, double minX, double minY, double maxX, double maxY, IPointGenerator.PointConsumer2d consumer) voidcollect0(int seed, double minX, double minY, double maxX, double maxY, PointConsumer<IPointGenerator.PointConsumer2d> pointConsumer, 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)
-
Constructor Details
-
PointGenerator
public PointGenerator(int seedOffset, CellDistanceFunction cellDistanceFunction, PointEvaluator pointEvaluator)
-
-
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
-
collect0
public void collect0(int seed, double minX, double minY, double maxX, double maxY, PointConsumer<IPointGenerator.PointConsumer2d> pointConsumer, IPointGenerator.PointConsumer2d consumer) -
equals
-
hashCode
-
toString
-