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.
-
Method Details
-
getAnimatedBlocks
List<IAnimatedBlock> getAnimatedBlocks()- Returns:
- All 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.
-