Class RMAgentFadeIn

  • All Implemented Interfaces:
    RMArchiver.Archiving, java.lang.Cloneable

    public class RMAgentFadeIn
    extends RMAnimAgent
    This class provides an anim agent to fade and scale a shape in over time.
    • Field Detail

      • _initialScale

        public float _initialScale
      • _finalScale

        public float _finalScale
      • _initialOpacity

        public float _initialOpacity
      • _finalOpacity

        public float _finalOpacity
    • Constructor Detail

      • RMAgentFadeIn

        public RMAgentFadeIn()
        Creates an unitialized fade-in agent.
      • RMAgentFadeIn

        public RMAgentFadeIn​(RMShape aShape)
        Creates a fade-in agent for the given shape.
    • Method Detail

      • activate

        public void activate()
        Activates the agent, which converts target text shapes to chars and extends shapes animator max time if needed.
        Overrides:
        activate in class RMAnimAgent
      • update

        public void update​(float aTime)
        Performs actual time based modifications.
        Overrides:
        update in class RMAnimAgent
      • getTitle

        public java.lang.String getTitle()
        Returns the string used to describe this anim agent to the user.
        Overrides:
        getTitle in class RMAnimAgent