ScaledCurveCondition

abstract class ScaledCurveCondition extends Condition

Class ScaledCurveCondition. Provides scaledcurvecondition functionality for the Hytale server.

java.lang.Object > Condition > ScaledCurveCondition

Field Summary

responseCurve

protected ScaledResponseCurve responseCurve

Field responseCurve.

input

final double input

Field input.

Method Detail

ScaledCurveCondition

public protected ScaledCurveCondition ()

Method ScaledCurveCondition.

getResponseCurve

public ScaledResponseCurve 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.