SensorLeash

public class SensorLeash extends SensorBase

Class SensorLeash. Provides sensorleash functionality for the Hytale server.

java.lang.Object > SensorBase > SensorLeash

Field Summary

transformComponent

final TransformComponent transformComponent

Field transformComponent.

npcComponent

final NPCEntity npcComponent

Field npcComponent.

leashPoint

final Vector3d leashPoint

Field leashPoint.

Method Detail

SensorLeash

public public SensorLeash (@Nonnull final BuilderSensorLeash builderSensorLeash, @Nonnull final BuilderSupport builderSupport)

Method SensorLeash.

Parameters:
@Nonnull final BuilderSensorLeash builderSensorLeash
@Nonnull final BuilderSupport builderSupport

matches

public boolean matches (@Nonnull final Ref ref, @Nonnull final Role role, final double dt, @Nonnull final Store store)

Method matches.

Parameters:
@Nonnull final Ref ref
@Nonnull final Role role
final double dt
@Nonnull final Store store

getSensorInfo

public InfoProvider getSensorInfo ()

Method getSensorInfo.