Skip to content
Snippets Groups Projects
Commit 6953f5c3 authored by Arfa Butt's avatar Arfa Butt
Browse files

setScore method added for loading a game

parent 17ee9279
No related branches found
No related tags found
No related merge requests found
......@@ -48,6 +48,10 @@ public class Player {
return score;
}
public void setScore(int x){
score = x;
}
/**
* @brief checks whether the player loses the game or not
* @return a boolean that is used to indicate whether the player is losing or not
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment