Class TooltipTimeline

java.lang.Object
foundry.veil.api.client.tooltip.anim.TooltipTimeline

public class TooltipTimeline extends Object
  • Constructor Details

    • TooltipTimeline

      public TooltipTimeline(TooltipKeyframe[] keyframes, float animationSpeed)
  • Method Details

    • update

      public void update()
    • getCurrentKeyframe

      public TooltipKeyframe getCurrentKeyframe()
    • getNextKeyframe

      public TooltipKeyframe getNextKeyframe()
    • setPlaying

      public void setPlaying(boolean playing)
    • isPlaying

      public boolean isPlaying()
    • addFrameForTime

      public void addFrameForTime(TooltipKeyframe keyframe, float duration)
    • getAnimationProgress

      public float getAnimationProgress()
    • isFinished

      public boolean isFinished()
    • reset

      public void reset()
    • setAnimationSpeed

      public void setAnimationSpeed(float animationSpeed)
    • getAnimationSpeed

      public float getAnimationSpeed()
    • getKeyframes

      public TooltipKeyframe[] getKeyframes()