public class NPCInteractionSimulationHandler implements IInteractionSimulationHandler
Class NPCInteractionSimulationHandler. Provides npcinteractionsimulationhandler functionality for the Hytale server.
java.lang.Object > NPCInteractionSimulationHandler
Field Summary
requestedChargeTime
private
float
requestedChargeTime
Field requestedChargeTime.
Method Detail
isCharging
public
boolean
isCharging
(final boolean firstRun, final float time, final InteractionType type, final InteractionContext context, final Ref ref, final CooldownHandler cooldownHandler)
Method isCharging.
- Parameters:
final booleanfirstRunfinal floattimefinal 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
requestChargeTime
public
void
requestChargeTime
(final float chargeTime)
Method requestChargeTime.
- Parameters:
final floatchargeTime