Skip to content

doa14001/bouncing-ball

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.

bouncing-ball

Using two instances of the BouncingBalls class, a subclass of SmartEllipse we add the capabilities of moving a specific number of pixels in the x and y directions as well as the ability to bounce off the walls.

Using a timer to initiate the ball movements as well as repainting the JPanel. The speed of the timer will specify the number of pixels the ball moves in the x and y directions.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Languages