public class SensorCanInteract extends SensorBase
Class SensorCanInteract. Provides sensorcaninteract functionality for the Hytale server.
java.lang.Object > SensorBase > SensorCanInteract
Field Summary
targetRef
final
Ref
targetRef
Field targetRef.
targetArchetype
final
Archetype
targetArchetype
Field targetArchetype.
targetTransformComponent
final
TransformComponent
targetTransformComponent
Field targetTransformComponent.
targetPosition
final
Vector3d
targetPosition
Field targetPosition.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
headRotationComponent
final
HeadRotation
headRotationComponent
Field headRotationComponent.
position
final
Vector3d
position
Field position.
headRotationYaw
final
float
headRotationYaw
Field headRotationYaw.
attitude
final
Attitude
attitude
Field attitude.
Method Detail
SensorCanInteract
public
public
SensorCanInteract
(@Nonnull final BuilderSensorCanInteract builder, @Nonnull final BuilderSupport support)
Method SensorCanInteract.
- Parameters:
@Nonnull final BuilderSensorCanInteractbuilder@Nonnull final BuilderSupportsupport
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