Class SensorAnd
java.lang.Object
com.hypixel.hytale.server.npc.corecomponents.AnnotatedComponentBase
com.hypixel.hytale.server.npc.corecomponents.SensorBase
com.hypixel.hytale.server.npc.corecomponents.utility.SensorMany
com.hypixel.hytale.server.npc.corecomponents.utility.SensorAnd
- All Implemented Interfaces:
RoleStateChange,Sensor,IAnnotatedComponent,IAnnotatedComponentCollection,IComponentExecutionControl
-
Field Summary
Fields inherited from class com.hypixel.hytale.server.npc.corecomponents.utility.SensorMany
autoUnlockTargetSlot, infoProvider, sensorsFields inherited from class com.hypixel.hytale.server.npc.corecomponents.SensorBase
once, triggeredFields inherited from class com.hypixel.hytale.server.npc.corecomponents.AnnotatedComponentBase
index, parent -
Constructor Summary
ConstructorsConstructorDescriptionSensorAnd(BuilderSensorAnd builder, BuilderSupport support, List<Sensor> sensors) -
Method Summary
Modifier and TypeMethodDescriptionprotected WrappedInfoProviderbooleanmatches(Ref<EntityStore> ref, Role role, double dt, Store<EntityStore> store) Methods inherited from class com.hypixel.hytale.server.npc.corecomponents.utility.SensorMany
componentCount, done, getComponent, getSensorInfo, loaded, motionControllerChanged, registerWithSupport, removed, setContext, spawned, teleported, unloadedMethods inherited from class com.hypixel.hytale.server.npc.corecomponents.SensorBase
clearOnce, isTriggered, processDelay, setOnceMethods inherited from class com.hypixel.hytale.server.npc.corecomponents.AnnotatedComponentBase
getIndex, getInfo, getParentMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.hypixel.hytale.server.npc.util.IAnnotatedComponent
getBreadCrumbs, getBreadCrumbs, getIndex, getInfo, getLabel, getParent
-
Constructor Details
-
SensorAnd
public SensorAnd(@Nonnull BuilderSensorAnd builder, @Nonnull BuilderSupport support, @Nonnull List<Sensor> sensors)
-
-
Method Details
-
matches
public boolean matches(@Nonnull Ref<EntityStore> ref, @Nonnull Role role, double dt, @Nonnull Store<EntityStore> store) - Specified by:
matchesin interfaceSensor- Overrides:
matchesin classSensorBase
-
createInfoProvider
- Specified by:
createInfoProviderin classSensorMany
-