Esempio n. 1
0
 /** Set text of JLabel for highScore */
 public void setHighScore(int s) {
   highScore.setText("High Score: " + s);
 }
Esempio n. 2
0
 /** Set text of JLabel for score */
 public void setScore(int s) {
   score.setText("Score: " + s);
 }
Esempio n. 3
0
 /** Set text of JLabel for lives */
 public void setLives(int s) {
   lives.setText("Lives: " + s);
 }
Esempio n. 4
0
 /** Set text of JLabel for level */
 public void setLevel(int s) {
   level.setText("Level: " + s);
 }