Public Member Functions | |
void | actionPerformed (ActionEvent e) |
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 }