Class CompiledAnimation
java.lang.Object
cromveil.combatnumbers.client.animation.CompiledAnimation
- All Implemented Interfaces:
AnimationEvaluator
-
Constructor Summary
ConstructorsConstructorDescriptionCompiledAnimation(float totalDurationMs, int charCount, CompiledStep[][] channelSteps, boolean hasStagger) -
Method Summary
Modifier and TypeMethodDescriptionfloatbooleanbooleanisComplete(float elapsedMs) voidsampleAll(float elapsedMs, int charIdx, ChannelBuffer out)
-
Constructor Details
-
CompiledAnimation
public CompiledAnimation(float totalDurationMs, int charCount, CompiledStep[][] channelSteps, boolean hasStagger)
-
-
Method Details
-
sampleAll
- Specified by:
sampleAllin interfaceAnimationEvaluator
-
isComplete
public boolean isComplete(float elapsedMs) - Specified by:
isCompletein interfaceAnimationEvaluator
-
durationMs
public float durationMs()- Specified by:
durationMsin interfaceAnimationEvaluator
-
hasStagger
public boolean hasStagger()- Specified by:
hasStaggerin interfaceAnimationEvaluator
-