Class RMAgentTypewriter

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

    public class RMAgentTypewriter
    extends RMAnimAgent
    This class provides an anim agent to insert text letters sequentially with typewriter sound effect.
    • Constructor Detail

      • RMAgentTypewriter

        public RMAgentTypewriter()
        Creates an unitialized gravity typewriter.
      • RMAgentTypewriter

        public RMAgentTypewriter​(RMShape aShape)
        Creates a typewriter agent for the given shape.
    • Method Detail

      • activate

        public void activate()
        Activates the agent.
        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