CurveNoiseProperty

public class CurveNoiseProperty implements NoiseProperty

Class CurveNoiseProperty. Provides curvenoiseproperty functionality for the Hytale server.

java.lang.Object > CurveNoiseProperty

Field Summary

value

final double value

Field value.

Method Detail

CurveNoiseProperty

public public CurveNoiseProperty (final NoiseProperty noise, final DoubleUnaryOperator function)

Method CurveNoiseProperty.

Parameters:
final NoiseProperty noise
final DoubleUnaryOperator function

get

public double get (final int seed, final double x, final double y)

Method get.

Parameters:
final int seed
final double x
final double y

toString

public String toString ()

Method toString.

PowerCurve

public public PowerCurve (final double a, final double b)

Method PowerCurve.

Parameters:
final double a
final double b

applyAsDouble

public double applyAsDouble (double operand)

Method applyAsDouble.

Parameters:
double operand