diff options
| author | mo khan <mo@mokhan.ca> | 2019-08-11 17:38:24 -0600 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2019-08-11 17:38:24 -0600 |
| commit | a7abfd9f11d2d750cb2b45bfc9de8858a29f05f2 (patch) | |
| tree | 999ec6556bdb3b88a1f7bb9cd7c2f803bbbeac40 /src/Q8/Point.java | |
| parent | a04f5ec262de028c843e38bf5864cd84953258b1 (diff) | |
add documentation and complete program profile
Diffstat (limited to 'src/Q8/Point.java')
| -rw-r--r-- | src/Q8/Point.java | 12 |
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": |
