Class AnimationManager

java.lang.Object
dev.bouncingelf10.timelesslib.api.animation.AnimationManager

public class AnimationManager extends Object
  • Constructor Details

    • AnimationManager

      public AnimationManager()
  • Method Details

    • createTimeline

      public AnimationTimeline createTimeline(String id)
    • getTimeline

      public Optional<AnimationTimeline> getTimeline(String id)
      Gets a timeline by its ID.
      Note: Returns an empty Optional if the timeline does not exist.
      Parameters:
      id - Timeline ID
      Returns:
      AnimationTimeline or empty
    • removeTimeline

      public boolean removeTimeline(String id)
    • update

      public void update()