Interface IAnimator

All Known Implementing Classes:
Animator

public interface IAnimator
Represents an object that controls an 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

      void applyMovement(IAnimatedBlock animatedBlock, RotatedPosition goalPos)
      Moves the selected animated block.
      Parameters:
      animatedBlock - The animated block that should be moved.
      goalPos - The target position of the animated block.