public class ActionTimer extends ActionBase
Class ActionTimer. Provides actiontimer functionality for the Hytale server.
java.lang.Object > ActionBase > ActionTimer
Field Summary
minStartValue
protected
double
minStartValue
Field minStartValue.
maxStartValue
protected
double
maxStartValue
Field maxStartValue.
minRestartValue
protected
double
minRestartValue
Field minRestartValue.
maxValue
protected
double
maxValue
Field maxValue.
rate
protected
double
rate
Field rate.
increaseValue
protected
double
increaseValue
Field increaseValue.
modifyRepeating
protected
boolean
modifyRepeating
Field modifyRepeating.
repeating
protected
boolean
repeating
Field repeating.
startValueRange
final
double[]
startValueRange
Field startValueRange.
restartValueRange
final
double[]
restartValueRange
Field restartValueRange.
Method Detail
ActionTimer
public
public
ActionTimer
(@Nonnull final BuilderActionTimer builderActionTimer, @Nonnull final BuilderSupport builderSupport)
Method ActionTimer.
- Parameters:
@Nonnull final BuilderActionTimerbuilderActionTimer@Nonnull final BuilderSupportbuilderSupport
execute
public
boolean
execute
(@Nonnull final Ref ref, @Nonnull final Role role, final InfoProvider sensorInfo, final double dt, @Nonnull final Store store)
Method execute.
- Parameters:
@Nonnull final Refref@Nonnull final Rolerolefinal InfoProvidersensorInfofinal doubledt@Nonnull final Storestore
executeRestartAction
protected
void
executeRestartAction
()
Method executeRestartAction.
executeModifyAction
protected
void
executeModifyAction
()
Method executeModifyAction.
executeContinueAction
protected
void
executeContinueAction
()
Method executeContinueAction.
executePauseAction
protected
void
executePauseAction
()
Method executePauseAction.
executeStopAction
protected
void
executeStopAction
()
Method executeStopAction.
executeStartAction
protected
void
executeStartAction
()
Method executeStartAction.