Interface IAnimObject
-
public interface IAnimObject
An animated object- Since:
- 18929
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidanimate()Animate the object - Cause next step of animationvoidpaint(java.awt.Graphics g)Paint the objectvoidsetExtend(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 widthh- window height
-
animate
void animate()
Animate the object - Cause next step of animation
-
-