From 2e5f4491bc2a3dfe4a4fed91f5d8fdf0dd7e5db6 Mon Sep 17 00:00:00 2001 From: LBF38 Date: Mon, 13 Mar 2023 00:42:05 +0100 Subject: [PATCH] fix(javadoc): :green_heart: PlayerComponent javadoc --- .../java/org/enstabretagne/Component/PlayerComponent.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/duelinvaders/src/main/java/org/enstabretagne/Component/PlayerComponent.java b/duelinvaders/src/main/java/org/enstabretagne/Component/PlayerComponent.java index 2809275..88c7bfb 100644 --- a/duelinvaders/src/main/java/org/enstabretagne/Component/PlayerComponent.java +++ b/duelinvaders/src/main/java/org/enstabretagne/Component/PlayerComponent.java @@ -173,7 +173,8 @@ public int getScore() { } /** - * @param score + * + * @param newScore */ public void setScore(int newScore) { score = Math.max(0, newScore); @@ -198,7 +199,8 @@ public int getLife() { } /** - * @param life + * + * @param newLife */ public void setLife(int newLife) { life = Math.max(0, newLife);