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