AnimationUtils

public class AnimationUtils

Class AnimationUtils. Provides animationutils functionality for the Hytale server.

java.lang.Object > AnimationUtils

Field Summary

modelComponent

final ModelComponent modelComponent

Field modelComponent.

networkIdComponent

final NetworkId networkIdComponent

Field networkIdComponent.

animationPacket

final PlayAnimation animationPacket

Field animationPacket.

itemAnimationsId

final String itemAnimationsId

Field itemAnimationsId.

Method Detail

playAnimation

static void playAnimation (@Nonnull final Ref ref, @Nonnull final AnimationSlot animationSlot, @Nullable final String animationId, final boolean sendToSelf, @Nonnull final ComponentAccessor componentAccessor)

Method playAnimation.

Parameters:
@Nonnull final Ref ref
@Nonnull final AnimationSlot animationSlot
@Nullable final String animationId
final boolean sendToSelf
@Nonnull final ComponentAccessor componentAccessor

PlayAnimation

public new PlayAnimation (networkIdComponent.getId()

Method PlayAnimation.

Parameters:
networkIdComponent.getId( networkIdComponent.getId(

stopAnimation

static void stopAnimation (@Nonnull final Ref ref, @Nonnull final AnimationSlot animationSlot, @Nonnull final ComponentAccessor componentAccessor)

Method stopAnimation.

Parameters:
@Nonnull final Ref ref
@Nonnull final AnimationSlot animationSlot
@Nonnull final ComponentAccessor componentAccessor