TargetDistanceCondition

public class TargetDistanceCondition extends ScaledCurveCondition

Class TargetDistanceCondition. Provides targetdistancecondition functionality for the Hytale server.

java.lang.Object > ScaledCurveCondition > TargetDistanceCondition

Field Summary

selfTransformComponent

final TransformComponent selfTransformComponent

Field selfTransformComponent.

selfPos

final Vector3d selfPos

Field selfPos.

targetTransformComponent

final TransformComponent targetTransformComponent

Field targetTransformComponent.

targetPos

final Vector3d targetPos

Field targetPos.

Method Detail

getInput

protected double getInput (final int selfIndex, @Nonnull final ArchetypeChunk archetypeChunk, @Nullable final Ref target, @Nonnull final CommandBuffer commandBuffer, final EvaluationContext context)

Method getInput.

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