@ -23,7 +23,7 @@ class Equipe {
void update() {
// affichage de l'emplacement d'équipe, qui restera toujours fixe
color bgColor = color(235, 112, 71, 0.8);
color textColor = color(200);
color textColor = color(240, 240, 80);
fill(bgColor);
stroke(bgColor);
strokeWeight(0.5);
@ -7,9 +7,9 @@ class Pion extends Position {
Pion(int id) {
super(id);
this.bgColor = color(0, 0, 0);
this.textColor = color(255, 255, 255);
this.textColor = color(240, 240, 80);
this.posX = floor((displayWidth-margin*2)/nombreEquipes)*id+radius/2+margin;
this.posY = displayHeight-28;
this.posY = displayHeight-42;
this.radius = 30;
}
@ -153,8 +153,8 @@ class Scoreboard {
if (teams.size()==0) continue;
// affichage du score
fill(color(150,0,0));
rect(offsetX-55, offsetY, 50, 80);
fill(color(0,0,0));
rect(offsetX-66, offsetY+20, 55, 50);
fill(color(240, 240, 80));
stroke(color(0, 0, 0));
strokeWeight(1);