File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
client/src/main/java/io/exterminator3618/client/screens Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -602,6 +602,10 @@ public int getLives(){
602602 return lives ;
603603 }
604604
605+ public int getScore () {
606+ return score ;
607+ }
608+
605609 public void setLives (int lives ){
606610 if (lives > 5 ) {
607611 this .lives = 5 ;
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ protected void gotoGameOverScreen() {
147147 }
148148
149149 @ Override
150- protected void gotoVictoryScreen () {
150+ public void gotoVictoryScreen () {
151151 client .setInMatch (false );
152152 finished = true ;
153153 StringBuilder sb = new StringBuilder ("You have finished the game!" );
@@ -161,7 +161,7 @@ protected void gotoVictoryScreen() {
161161 }
162162
163163 @ Override
164- protected void gotoWinLevelScreen (int level ) {
164+ public void gotoWinLevelScreen (int level ) {
165165 gotoVictoryScreen ();
166166 }
167167
You can’t perform that action at this time.
0 commit comments