ActiveAnimationComponent

public class ActiveAnimationComponent implements Component

Component for tracking activeanimation state. Attach this component to entities that need to track activeanimation data.

java.lang.Object > ActiveAnimationComponent

Field Summary

isNetworkOutdated

private boolean isNetworkOutdated

Field isNetworkOutdated.

temp

final boolean temp

Field temp.

Method Detail

getComponentType

public ActiveAnimationComponent> getComponentType ()

Method getComponentType.

ActiveAnimationComponent

public public ActiveAnimationComponent ()

Method ActiveAnimationComponent.

getActiveAnimations

public String[] getActiveAnimations ()

Method getActiveAnimations.

setPlayingAnimation

public void setPlayingAnimation (final AnimationSlot slot, @Nullable final String animation)

Method setPlayingAnimation.

Parameters:
final AnimationSlot slot
@Nullable final String animation

consumeNetworkOutdated

public boolean consumeNetworkOutdated ()

Method consumeNetworkOutdated.

clone

public Component clone ()

Method clone.