suppresion de bordures rouges
This commit is contained in:
@@ -55,13 +55,6 @@ public class ZoneDessin extends JPanel {
|
|||||||
obj.Afficher(g);
|
obj.Afficher(g);
|
||||||
}
|
}
|
||||||
|
|
||||||
// bordures haut et bas
|
|
||||||
g2D.setColor(Color.RED);
|
|
||||||
int yTop = (int)(getHeight() * 0.05);
|
|
||||||
int yBottom = (int)(getHeight() * 0.95);
|
|
||||||
g2D.drawLine(0, yTop, getWidth(), yTop);
|
|
||||||
g2D.drawLine(0, yBottom, getWidth(), yBottom);
|
|
||||||
|
|
||||||
// Affichage de l'écran Game Over
|
// Affichage de l'écran Game Over
|
||||||
if (isGameOver) {
|
if (isGameOver) {
|
||||||
g2D.setColor(new Color(0, 0, 0, 150)); // Fond sombre
|
g2D.setColor(new Color(0, 0, 0, 150)); // Fond sombre
|
||||||
|
|||||||
Reference in New Issue
Block a user