SensorBase

abstract class SensorBase extends AnnotatedComponentBase implements Sensor

Class SensorBase. Provides sensorbase functionality for the Hytale server.

java.lang.Object > AnnotatedComponentBase > SensorBase

Field Summary

triggered

protected boolean triggered

Field triggered.

Method Detail

SensorBase

public public SensorBase (@Nonnull final BuilderSensorBase builderSensorBase)

Method SensorBase.

Parameters:
@Nonnull final BuilderSensorBase builderSensorBase

matches

public boolean matches (@Nonnull final Ref ref, @Nonnull final Role role, final double dt, @Nonnull final Store store)

Method matches.

Parameters:
@Nonnull final Ref ref
@Nonnull final Role role
final double dt
@Nonnull final Store store

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 float dt