summaryrefslogtreecommitdiffstats
path: root/Robofactor/Score.pde
blob: 4e9be74dd0145a34f7d0b09dac008c84f7309cbd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
public class Score{
  //Variables
  private int score;
  
  //Fonctions
  Score(){
    score = 0;
  }
  
  void augmenter(int augmentation){
    score+=augmentation;
  }
  
  void afficher(int x, int y){
    fill(0);
    text(score, x, y);
  }
}