Interface IAnimObject

All Known Implementing Classes:
DropImage, Star

public interface IAnimObject
An animated object
Since:
18929
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Animate the object - Cause next step of animation
    void
    Paint the object
    void
    setExtend(int w, int h)
    Set the extend when window size changed
  • Method Details

    • paint

      void paint(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