Browse Source

[GamelauncherMain Class]: Actionlistener fuer Button

remotes/origin/textadventure
fdai7431 2 years ago
parent
commit
6832a95aa4
  1. 11
      JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java

11
JavaGamelauncher/src/main/java/de/hs_fulda/gruppenprojekt/JavaGamelauncher/GamelauncherMain.java

@ -124,6 +124,17 @@ public class GamelauncherMain extends JFrame {//class
} }
}); });
btnTextadventure.addActionListener(new ActionListener() {
@Override
public void actionPerformed(ActionEvent e) {
// TODO Auto-generated method stub
//TextadventureGame frameTextadventure = new TextadventureGame();
//frameTextadventure.setVisible(true);
}
});
}//end standardkonstruktor }//end standardkonstruktor

Loading…
Cancel
Save