summaryrefslogtreecommitdiff
path: root/src/Q8/Point.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/Q8/Point.java')
-rw-r--r--src/Q8/Point.java12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/Q8/Point.java b/src/Q8/Point.java
index 391ea28..2917d22 100644
--- a/src/Q8/Point.java
+++ b/src/Q8/Point.java
@@ -28,23 +28,17 @@ public class Point {
this.score = score;
}
- /**
- * @return the player that scored the point.
- */
+ /** @return the player that scored the point. */
public int getPlayer() {
return this.player;
}
- /**
- * @return the score for the player at the time the point was scored.
- */
+ /** @return the score for the player at the time the point was scored. */
public int getScore() {
return this.score;
}
- /**
- * @return the stroke used to score the point.
- */
+ /** @return the stroke used to score the point. */
public String getStroke() {
switch (this.stroke) {
case "a":