CurveCondition

abstract class CurveCondition extends Condition

Class CurveCondition. Provides curvecondition functionality for the Hytale server.

java.lang.Object > Condition > CurveCondition

Field Summary

responseCurve

protected String responseCurve

Field responseCurve.

responseCurveReference

protected ResponseCurve.Reference responseCurveReference

Field responseCurveReference.

curve

final ResponseCurve curve

Field curve.

input

final double input

Field input.

index

final int index

Field index.

Method Detail

CurveCondition

public protected CurveCondition ()

Method CurveCondition.

getResponseCurve

public String getResponseCurve ()

Method getResponseCurve.

calculateUtility

public double calculateUtility (final int selfIndex, final ArchetypeChunk archetypeChunk, final Ref target, final CommandBuffer commandBuffer, final EvaluationContext context)

Method calculateUtility.

Parameters:
final int selfIndex
final ArchetypeChunk archetypeChunk
final Ref target
final CommandBuffer commandBuffer
final EvaluationContext context

getSimplicity

public int getSimplicity ()

Method getSimplicity.

toString

public String toString ()

Method toString.