Skip to content

Commit

Permalink
fix(javadoc): 💚 PlayerComponent javadoc
Browse files Browse the repository at this point in the history
  • Loading branch information
LBF38 committed Mar 12, 2023
1 parent a4f60d9 commit 2e5f449
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,8 @@ public int getScore() {
}

/**
* @param score
*
* @param newScore
*/
public void setScore(int newScore) {
score = Math.max(0, newScore);
Expand All @@ -198,7 +199,8 @@ public int getLife() {
}

/**
* @param life
*
* @param newLife
*/
public void setLife(int newLife) {
life = Math.max(0, newLife);
Expand Down

0 comments on commit 2e5f449

Please sign in to comment.