public class SensorHasTask extends SensorBase
Class SensorHasTask. Provides sensorhastask functionality for the Hytale server.
java.lang.Object > SensorBase > SensorHasTask
Field Summary
target
final
Ref
target
Field target.
targetArchetype
final
Archetype
targetArchetype
Field targetArchetype.
targetUuidComponent
final
UUIDComponent
targetUuidComponent
Field targetUuidComponent.
targetUuid
final
UUID
targetUuid
Field targetUuid.
uuidComponent
final
UUIDComponent
uuidComponent
Field uuidComponent.
uuid
final
UUID
uuid
Field uuid.
objectiveSystem
final
NPCObjectivesPlugin
objectiveSystem
Field objectiveSystem.
entitySupport
final
EntitySupport
entitySupport
Field entitySupport.
Method Detail
SensorHasTask
public
public
SensorHasTask
(@Nonnull final BuilderSensorHasTask builder, @Nonnull final BuilderSupport support)
Method SensorHasTask.
- Parameters:
@Nonnull final BuilderSensorHasTaskbuilder@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