Package CSE115.BallWorld

This package contains the necessary classes for bouncing balls & pictures.

See:
          Description

Interface Summary
BounceFactory Specifies the required functionality so that the menu can talk to some class, written by you, to create the different kinds of balls/images.
MovingBody Normal users can ignore this interface. Methods needed for body that can be animated and moved.
Shape Normal users can ignore this interface. An entity that implements all of NGP.Graphic, NGP.Locatable, and NGP.Sizeable.
 

Class Summary
Animator Normal users can ignore this class. Tells MovingBody objects when to move.
Applet An applet for the balls to bounce on.
Ball A ball that moves when told to.
BouncingPicture A GIF or JPEG that bounces on the screen.
Frame Normal users can ignore this class. A frame for the balls and pictures to bounce on.
MovingBodyAdapter Normal users can ignore this class. A class that implements many of the methods of MovingBody by delegating the work to Shape objects.
SineMaker This class is used to create a sine wave oscillation of an integer value between specified minimum and maximum values.
 

Package CSE115.BallWorld Description

This package contains the necessary classes for bouncing balls & pictures.