Interface IAnimObject

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void animate()
      Animate the object - Cause next step of animation
      void paint​(java.awt.Graphics g)
      Paint the object
      void setExtend​(int w, int h)
      Set the extend when window size changed
    • Method Detail

      • paint

        void paint​(java.awt.Graphics g)
        Paint the object
        Parameters:
        g - the graphics object to paint to
      • setExtend

        void setExtend​(int w,
                       int h)
        Set the extend when window size changed
        Parameters:
        w - window width
        h - window height
      • animate

        void animate()
        Animate the object - Cause next step of animation