SensorAlarm

public class SensorAlarm extends SensorBase

Class SensorAlarm. Provides sensoralarm functionality for the Hytale server.

java.lang.Object > SensorBase > SensorAlarm

Field Summary

worldTimeResource

final WorldTimeResource worldTimeResource

Field worldTimeResource.

passed

final boolean passed

Field passed.

Method Detail

SensorAlarm

public public SensorAlarm (@Nonnull final BuilderSensorAlarm builder, @Nonnull final BuilderSupport support)

Method SensorAlarm.

Parameters:
@Nonnull final BuilderSensorAlarm builder
@Nonnull final BuilderSupport support

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.

State

public private State (final String text)

Method State.

Parameters:
final String text

asText

public String asText ()

Method asText.

get

public String get ()

Method get.