|
|
@ -3,6 +3,8 @@ package de.hs_fulda.gruppenprojekt.JavaGamelauncher; |
|
|
|
import java.awt.Color; |
|
|
|
import java.awt.EventQueue; |
|
|
|
import java.awt.Font; |
|
|
|
import java.awt.event.ActionEvent; |
|
|
|
import java.awt.event.ActionListener; |
|
|
|
|
|
|
|
import javax.swing.JButton; |
|
|
|
import javax.swing.JFrame; |
|
|
@ -89,6 +91,18 @@ public class GamelauncherMain extends JFrame {//class |
|
|
|
contentPane.add(btnTikTakToe); |
|
|
|
contentPane.add(btnTextadventure); |
|
|
|
|
|
|
|
btnSnake.addActionListener(new ActionListener() { |
|
|
|
|
|
|
|
@Override |
|
|
|
public void actionPerformed(ActionEvent e) { |
|
|
|
// TODO Auto-generated method stub |
|
|
|
|
|
|
|
//SnakeGame frameSnake = new SnakeGame(); |
|
|
|
//frameSnake.setVisible(true); |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
|
|
|
|
}//end standardkonstruktor |
|
|
|
|
|
|
|
}//end class |