Browse Source

Added current difficulty

Kenneth van Ewijk 10 năm trước cách đây
mục cha
commit
c0123378aa
1 tập tin đã thay đổi với 6 bổ sung4 xóa
  1. 6 4
      model/objects/InfoPanel.java

+ 6 - 4
model/objects/InfoPanel.java

@@ -75,14 +75,16 @@ public class InfoPanel {
 		g2.drawString("Score: ", 25, 75);
 		
 		g2.drawString(sh.getCurrentSong().getTitle(), 25, 215);
-		g2.drawString(time, 25, 295);
-		g2.drawString("" + highscore, 25, 375);
+		g2.drawString(sh.getCurrentSongInstance().getDifficulty(), 25, 295);
+		g2.drawString(time, 25, 375);
+		g2.drawString("" + highscore, 25, 455);
 		
 		Font scoreFont2 = new Font("OCR A Extended", Font.BOLD, 25);
 		g2.setFont(scoreFont2);
 		g2.drawString("Title: ", 25, 185);
-		g2.drawString("Time: ", 25, 265);
-		g2.drawString("Best: ", 25, 345);
+		g2.drawString("Difficulty: ", 25, 265);
+		g2.drawString("Time: ", 25, 345);
+		g2.drawString("Best: ", 25, 425);
 		
 		
 		Font scoreFont3 = new Font("OCR A Extended", Font.BOLD, 45);