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 BuilderSensorLeashbuilderSensorLeash@Nonnull final BuilderSupportbuilderSupport
matches
public
boolean
matches
(@Nonnull final Ref ref, @Nonnull final Role role, final double dt, @Nonnull final Store store)
Method matches.
- Parameters:
@Nonnull final Refref@Nonnull final Rolerolefinal doubledt@Nonnull final Storestore