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.
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 booleanfirstRunfinal floattime@Nonnull final InteractionTypetypefinal InteractionContextcontextfinal Refreffinal CooldownHandlercooldownHandler
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 booleanfirstRunfinal floattimefinal InteractionTypetypefinal InteractionContextcontextfinal Refreffinal CooldownHandlercooldownHandler
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 booleanfirstRunfinal floattimefinal InteractionTypetypefinal InteractionContextcontextfinal Refreffinal CooldownHandlercooldownHandler