summaryrefslogtreecommitdiff
path: root/src/Q8/Point.java
diff options
context:
space:
mode:
authormo khan <mo@mokhan.ca>2019-08-11 17:38:24 -0600
committermo khan <mo@mokhan.ca>2019-08-11 17:38:24 -0600
commita7abfd9f11d2d750cb2b45bfc9de8858a29f05f2 (patch)
tree999ec6556bdb3b88a1f7bb9cd7c2f803bbbeac40 /src/Q8/Point.java
parenta04f5ec262de028c843e38bf5864cd84953258b1 (diff)
add documentation and complete program profile
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":