diff --git a/audio/SongInstance.java b/audio/SongInstance.java index 472b29b..0be1dd6 100644 --- a/audio/SongInstance.java +++ b/audio/SongInstance.java @@ -7,6 +7,7 @@ public class SongInstance { private String difficulty; private int timesPlayed; + private int highestScore; private List objects; private List buttons; @@ -15,6 +16,7 @@ public class SongInstance { { this.difficulty = difficulty; this.timesPlayed = 0; + this.highestScore = 0; objects = new ArrayList(); buttons = new ArrayList(); @@ -94,6 +96,14 @@ public class SongInstance { this.timesPlayed = timesPlayed; } + public int getHighestScore() { + return highestScore; + } + + public void setHighestScore(int highestScore) { + this.highestScore = highestScore; + } + public void played() { timesPlayed++;