Class | Description |
---|---|
Pong |
This implements a simple Pong game to illustrate a more complex
GUI with multiple classes for the controller and view parts of
the MVC pattern.
|
PongMenuController |
This reacts to selections from the menu, and also
implements the keyboard shortcuts.
|
PongModel |
This is the model of the simple Pong game.
|
PongMouseController |
This is the mouse event handler for the PongPanel.
|
PongPanel |
The PongPanel draws the paddle and the ball when repainted.
|
PongPopupController |
This class passes the decision to show the popup menu to the PongView.
|
PongRepaintController |
This class is an event handler for the Timer.
|
PongResizeController |
This class is an event handler for when the Pong's panel
is resized.
|
PongView |
This along with PongPanel implements the view of the simple Pong game.
|