COMP 310

Composition-based Ballworld Demo with Multiple Switchers

    Current Home  Java Resources  Eclipse Resources

Note:  it is an Honor Code violation to attempt to decompile any supplied code

There is a web page that explains how this demo makes multiple switcher balls that will only be made available by the instructor after a specified date.

This composition-based Ballworld demonstrates the ability of composition-based systems to add dynamically modifiable behaviors to a system, plus adds the ability to create multiple, independent switcher strategies.   It is an extension of the regular composition-based Ballworld demo.

If you hold the mouse over any button, a tooltip will pop up that will tell you what that button does.

The following different types of strategies are available for use, plus any switcher strategies created:

Try combining switcher strategies and see what happens!

Important Design Notes

This code has the following design features:

 

Click here to download and launch the demo.   Please accept any security requests.

 

[ Back to the Ballworld Demos ]

Trouble Running the Demos?

 


© 2017 by Stephen Wong