ActionWithDelay

abstract class ActionWithDelay extends ActionBase

Class ActionWithDelay. Provides actionwithdelay functionality for the Hytale server.

java.lang.Object > ActionBase > ActionWithDelay

Field Summary

delay

private double delay

Field delay.

isDelaying

private boolean isDelaying

Field isDelaying.

Method Detail

ActionWithDelay

public public ActionWithDelay (@Nonnull final BuilderActionWithDelay builder, @Nonnull final BuilderSupport support)

Method ActionWithDelay.

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

processDelay

public boolean processDelay (final float dt)

Method processDelay.

Parameters:
final float dt

isDelaying

protected boolean isDelaying ()

Method isDelaying.

isDelayPrepared

protected boolean isDelayPrepared ()

Method isDelayPrepared.

prepareDelay

protected void prepareDelay ()

Method prepareDelay.

clearDelay

protected void clearDelay ()

Method clearDelay.

startDelay

protected void startDelay (@Nonnull final EntitySupport support)

Method startDelay.

Parameters:
@Nonnull final EntitySupport support