|
|
|
|
@ -153,7 +153,9 @@ class Scoreboard {
|
|
|
|
|
if (teams.size()==0) continue;
|
|
|
|
|
|
|
|
|
|
// affichage du score
|
|
|
|
|
fill(color(0, 0, 0));
|
|
|
|
|
fill(color(150,0,0));
|
|
|
|
|
rect(offsetX-55, offsetY, 50, 80);
|
|
|
|
|
fill(color(240, 240, 80));
|
|
|
|
|
stroke(color(0, 0, 0));
|
|
|
|
|
strokeWeight(1);
|
|
|
|
|
textFont(quicksandFont, 40);
|
|
|
|
|
@ -168,9 +170,9 @@ class Scoreboard {
|
|
|
|
|
for(int j=0; j<teams.size(); j++) {
|
|
|
|
|
float subLocalMarginX = (int(teams.get(j))<=9)? margin-10: (int(teams.get(j))>=40)? margin+4: margin;
|
|
|
|
|
subLocalMarginX -=4;
|
|
|
|
|
fill(color(0, 0, 0));
|
|
|
|
|
fill(color(240, 240, 80));
|
|
|
|
|
circle(offsetX-(margin*(j+1))+20, offsetY+(margin*2)-12, 50);
|
|
|
|
|
fill(color(255, 255,255));
|
|
|
|
|
fill(color(0, 0, 0));
|
|
|
|
|
textFont(quicksandFont, 32);
|
|
|
|
|
//text(teams.get(j), offsetX-(margin*(j+1)), offsetY+(margin*2));
|
|
|
|
|
//fill(color(0, 250, 0));
|
|
|
|
|
|