engine.Window.ActionEventListener Class Reference

The listener to listen to actionevents of the menue. More...

Inheritance diagram for engine.Window.ActionEventListener:

Inheritance graph
[legend]
Collaboration diagram for engine.Window.ActionEventListener:

Collaboration graph
[legend]

List of all members.

Public Member Functions

void actionPerformed (ActionEvent e)


Detailed Description

The listener to listen to actionevents of the menue.

Author:
Team Solid Sun

Member Function Documentation

void engine.Window.ActionEventListener.actionPerformed ( ActionEvent  e  ) 

References engine.Window.canvas, and engine.Window.notifyQuit().

00236                                                            {
00237                         if (e.getActionCommand().compareTo("Start") == 0){
00238                                 JavaRenderer.getTime().startIt();
00239                                 canvas.requestFocus();
00240                         }
00241                         if (e.getActionCommand().compareTo("Quit") == 0){
00242                                 new GameOverEvent(this);
00243                                 notifyQuit(true);
00244                         }
00245                         if (e.getActionCommand().compareTo("about") == 0){
00246                                 new AboutWindow();
00247                         }
00248                 }


The documentation for this class was generated from the following file:

Generated on Mon Jul 28 19:03:04 2008 for SolidJavaTetris by  doxygen 1.5.5