Serialized Form


Package <Unnamed>

Class BouncingBall extends java.applet.Applet implements Serializable

Serialized Fields

color

java.awt.Color color
The ball color

See Also:
update(java.awt.Graphics)

radius

int radius
The ball radius

See Also:
init(), update(java.awt.Graphics)

x

int x
The ball coordinates of current position

See Also:
init(), update(java.awt.Graphics)

y

int y
The ball coordinates of current position

See Also:
init(), update(java.awt.Graphics)

dx

int dx
The distance that ball passed during the move

See Also:
update(java.awt.Graphics)

dy

int dy
The distance that ball passed during the move

See Also:
update(java.awt.Graphics)

image

java.awt.Image image
Off-screen image

See Also:
update(java.awt.Graphics)

offscreen

java.awt.Graphics offscreen
Off-screen graphics

See Also:
update(java.awt.Graphics)

d

java.awt.Dimension d
Size of the viewing area

See Also:
init(), update(java.awt.Graphics)

bouncingThread

java.lang.Thread bouncingThread
The thread that keeps the ball bouncing

See Also:
start(), stop(), run()

delay

int delay
If no parameter passed then we set interval between two consecutive frames