This commit is contained in:
martins 2022-04-29 17:22:46 +02:00
parent f1b09a841a
commit b0973b26ab
2 changed files with 2 additions and 2 deletions

Binary file not shown.

View File

@ -93,9 +93,9 @@ public class paintMenuJeu extends JComponent{
if(this.choix==7){
if(this.survol==true){
secondPinceau.setColor(new Color(0,255,0));
secondPinceau.fillRect(0, 0, this.getWidth()/16*5, this.getHeight()/16*5);
secondPinceau.fillRect(0, 0, this.getWidth(), this.getHeight());
}
secondPinceau.drawImage(this.replay, 0, 0, this.getWidth()/16*4, this.getHeight()/16*4 ,this);
secondPinceau.drawImage(this.replay, this.getWidth()/6, this.getHeight()/6, this.getWidth()/6*4, this.getHeight()/6*4 ,this);
}
}
private void paintNombre(Graphics secondPinceau, int nombre){