public class SensorAge extends SensorBase
Class SensorAge. Provides sensorage functionality for the Hytale server.
java.lang.Object > SensorBase > SensorAge
Field Summary
ageRange
final
Instant[]
ageRange
Field ageRange.
worldTimeResource
final
WorldTimeResource
worldTimeResource
Field worldTimeResource.
currentInstant
final
Instant
currentInstant
Field currentInstant.
Method Detail
SensorAge
public
public
SensorAge
(@Nonnull final BuilderSensorAge builderSensorAge, @Nonnull final BuilderSupport builderSupport)
Method SensorAge.
- Parameters:
@Nonnull final BuilderSensorAgebuilderSensorAge@Nonnull final BuilderSupportbuilderSupport
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