Package kr.toxicity.model.api.animation
Interface AnimationIterator<T extends Timed>
- All Superinterfaces:
Iterator<T>
- All Known Implementing Classes:
AnimationIterator.HoldOnLast,AnimationIterator.Loop,AnimationIterator.PlayOnce
A keyframe iterator of animation.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classAnimationIterator.HoldOnLast<T extends Timed>Hold on laststatic final classAnimationIterator.Loop<T extends Timed>Loopstatic final classAnimationIterator.PlayOnce<T extends Timed>Play oncestatic enumAnimation type -
Method Summary
Modifier and TypeMethodDescriptionvoidclear()Clears this iterator@NotNull AnimationIterator.Typetype()Gets an animation typeMethods inherited from interface java.util.Iterator
forEachRemaining, hasNext, next, remove
-
Method Details
-
clear
void clear()Clears this iterator -
type
Gets an animation type- Returns:
- type
-