NullSensor

public class NullSensor implements Sensor

Class NullSensor. Provides nullsensor functionality for the Hytale server.

java.lang.Object > NullSensor

Field Summary

No fields documented.

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 Ref ref
@Nonnull final Role role
final double dt
@Nonnull final Store store

getSensorInfo

public InfoProvider getSensorInfo ()

Method getSensorInfo.

processDelay

public boolean processDelay (final float dt)

Method processDelay.

Parameters:
final float dt

clearOnce

public void clearOnce ()

Method clearOnce.

setOnce

public void setOnce ()

Method setOnce.

isTriggered

public boolean isTriggered ()

Method isTriggered.

getInfo

public void getInfo (final Role role, final ComponentInfo holder)

Method getInfo.

Parameters:
final Role role
final ComponentInfo holder

setContext

public void setContext (final IAnnotatedComponent parent, final int index)

Method setContext.

Parameters:
final IAnnotatedComponent parent
final int index

getParent

public IAnnotatedComponent getParent ()

Method getParent.

getIndex

public int getIndex ()

Method getIndex.