mirror of
https://github.com/jokerx3/HeatUp
synced 2026-07-27 07:19:46 +02:00
implemented logger functions to MenuPanel
This commit is contained in:
@@ -97,7 +97,7 @@ public class MenuPanel {
|
||||
endGame.addMouseListener(new MouseAdapter() {
|
||||
public void mouseClicked(MouseEvent e) {
|
||||
// @TODO: implement end game
|
||||
System.out.println("game ended");
|
||||
Logger.write("game ended");
|
||||
}
|
||||
});
|
||||
|
||||
@@ -118,7 +118,7 @@ public class MenuPanel {
|
||||
showHighscore.addMouseListener(new MouseAdapter() {
|
||||
public void mouseClicked(MouseEvent e) {
|
||||
// @TODO: implement show highscore
|
||||
System.out.println("show highscore");
|
||||
Logger.write("show highscore");
|
||||
}
|
||||
});
|
||||
|
||||
@@ -141,7 +141,7 @@ public class MenuPanel {
|
||||
// @TODO: implement show credits
|
||||
menuPanel.setVisible(false);
|
||||
|
||||
System.out.println("show credits");
|
||||
Logger.write("show credits");
|
||||
}
|
||||
});
|
||||
|
||||
@@ -162,7 +162,7 @@ public class MenuPanel {
|
||||
showTutorial.addMouseListener(new MouseAdapter() {
|
||||
public void mouseClicked(MouseEvent e) {
|
||||
// @TODO: implement show tutorial
|
||||
System.out.println("show tutorial");
|
||||
Logger.write("show tutorial");
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user