Interface IAnimator
- All Known Implementing Classes:
Animator
public interface IAnimator
Represents an object that controls an animation.
-
Method Summary
Modifier and TypeMethodDescriptionvoidapplyMovement(IAnimatedBlock animatedBlock, RotatedPosition goalPos) Moves the selected animated block.Returns all the animated blocks that are part of this animation.
-
Method Details
-
getAnimatedBlocks
List<IAnimatedBlock> getAnimatedBlocks()Returns all the animated blocks that are part of this animation.- Returns:
- An unmodifiable list with the animated blocks that are part of the animation.
-
applyMovement
Moves the selected animated block.- Parameters:
animatedBlock- The animated block that should be moved.goalPos- The target position of the animated block.
-