InteractionSimulationHandler

public class InteractionSimulationHandler implements IInteractionSimulationHandler

Class InteractionSimulationHandler. Provides interactionsimulationhandler functionality for the Hytale server.

java.lang.Object > InteractionSimulationHandler

Field Summary

No fields documented.

Method Detail

InteractionSimulationHandler

public public InteractionSimulationHandler ()

Method InteractionSimulationHandler.

setState

public void setState (@Nonnull final InteractionType type, final boolean state)

Method setState.

Parameters:
@Nonnull final InteractionType type
final boolean state

isCharging

public boolean isCharging (final boolean firstRun, final float time, @Nonnull final InteractionType type, final InteractionContext context, final Ref ref, final CooldownHandler cooldownHandler)

Method isCharging.

Parameters:
final boolean firstRun
final float time
@Nonnull final InteractionType type
final InteractionContext context
final Ref ref
final CooldownHandler cooldownHandler

shouldCancelCharging

public boolean shouldCancelCharging (final boolean firstRun, final float time, final InteractionType type, final InteractionContext context, final Ref ref, final CooldownHandler cooldownHandler)

Method shouldCancelCharging.

Parameters:
final boolean firstRun
final float time
final InteractionType type
final InteractionContext context
final Ref ref
final CooldownHandler cooldownHandler

getChargeValue

public float getChargeValue (final boolean firstRun, final float time, final InteractionType type, final InteractionContext context, final Ref ref, final CooldownHandler cooldownHandler)

Method getChargeValue.

Parameters:
final boolean firstRun
final float time
final InteractionType type
final InteractionContext context
final Ref ref
final CooldownHandler cooldownHandler