Module technology.sola.engine
Interface SpriteAnimatorComponent.AnimationCompleteCallback
- Enclosing class:
- SpriteAnimatorComponent
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
AnimationCompleteCallback is a
FunctionalInterface
for defining functionality that happens when an
animation completes.-
Method Summary
Modifier and TypeMethodDescriptionvoid
onComplete
(String animationId) Method called when the animation with id is completed.
-
Method Details
-
onComplete
Method called when the animation with id is completed.- Parameters:
animationId
- the id of the animation that just completed
-