abstract class SensorBase extendsAnnotatedComponentBaseimplementsSensor
Class SensorBase. Provides sensorbase functionality for the Hytale server.
java.lang.Object > AnnotatedComponentBase > SensorBase
Field Summary
triggered
protected
boolean
triggered
Field triggered.
Method Detail
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
clearOnce
public
void
clearOnce
()
Method clearOnce.
setOnce
public
void
setOnce
()
Method setOnce.
isTriggered
public
boolean
isTriggered
()
Method isTriggered.
processDelay
public
boolean
processDelay
(final float dt)
Method processDelay.
- Parameters:
final floatdt