supression btn settings
This commit is contained in:
@@ -17,7 +17,7 @@ public class Ligne extends ObjetGraphique{// Hérite de la classe ObjetGraphique
|
||||
|
||||
|
||||
// nb de Segments qui composent la ligne
|
||||
protected int nbSegments = 400;
|
||||
protected int nbSegments = 50;
|
||||
|
||||
// amplitude maximale de l'inclinaison verticale des segments (dy)
|
||||
protected double inclinaisonMax = 30.0;
|
||||
|
||||
@@ -24,7 +24,6 @@ public class MenuPrincipal extends JPanel {
|
||||
btnPlay = creerBouton("PLAY");
|
||||
btnCampaign = creerBouton("CAMPAGNES");
|
||||
btnLeaderboard = creerBouton("LEADERBOARD");
|
||||
btnSettings = creerBouton("SETTINGS");
|
||||
btnQuit = creerBouton("QUIT");
|
||||
|
||||
// Actions
|
||||
@@ -34,7 +33,6 @@ public class MenuPrincipal extends JPanel {
|
||||
btnCampaign.addActionListener(e -> jeu.afficherMenuCampagne());
|
||||
|
||||
btnLeaderboard.addActionListener(e -> jeu.afficherLeaderboard());
|
||||
btnSettings.addActionListener(e -> JOptionPane.showMessageDialog(this, "Options bientôt disponibles !"));
|
||||
btnQuit.addActionListener(e -> System.exit(0));
|
||||
|
||||
// Mise en page (espacement vertical)
|
||||
@@ -47,8 +45,6 @@ public class MenuPrincipal extends JPanel {
|
||||
add(Box.createRigidArea(new Dimension(0, 15)));
|
||||
add(btnLeaderboard);
|
||||
add(Box.createRigidArea(new Dimension(0, 15)));
|
||||
add(btnSettings);
|
||||
add(Box.createRigidArea(new Dimension(0, 15)));
|
||||
add(btnQuit);
|
||||
add(Box.createVerticalGlue());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user