Class RMAnimAgent

    • Field Detail

      • _delay

        public float _delay
      • _duration

        public float _duration
    • Constructor Detail

      • RMAnimAgent

        public RMAnimAgent()
        Creates a new unitialized anim agent.
      • RMAnimAgent

        public RMAnimAgent​(RMShape aShape)
        Creates an anim agent for the given shape.
    • Method Detail

      • setShape

        public void setShape​(RMShape aShape)
        Sets the shape for this agent to the given shape.
      • activate

        public void activate()
        This method is called to perform initializations before update(time) is called.
      • update

        public void update​(float aTime)
        This method is used to perform actual modifications to the specified shape.
      • getTitle

        public java.lang.String getTitle()
        Returns the string used to describe this anim agent to the user.
      • fromXML

        public java.lang.Object fromXML​(RXArchiver anArchiver,
                                        RXElement anElement)
        XML unarchival.