Monday, February 22, 2010

Status Update #2

So far I have planned out how I would like to organize the flash bar and joint demo. There will be three classes that will be used no matter how the user interacts with the demo. Those classes are Graph, Joint, and Bar. I will also create two separate flash files, one which will look for key and mouse events and another that will hook up to the server and look for hull and hole events.



I have written skeleton classes for Graph, Joint, and Bar as well as a rough outline for a class that will receive input from the mouse and keyboard. This last class is called BarAndJointDemoSI. This class maintains a graph (and a graph maintains its bars and joints) and has action listeners for various keyboard and mouse events. When these events occur BarAndJointDemoSI calls methods in its graph. The non-standard input class will work the same way, but will listen for a different set of events.

No comments:

Post a Comment