diff options
| author | WillemDalton <willemhdalton@gmail.com> | 2025-09-29 18:26:42 -0400 |
|---|---|---|
| committer | WillemDalton <willemhdalton@gmail.com> | 2025-09-29 18:26:42 -0400 |
| commit | c9dbbbf82277036d15a180b0e8609b6dfccb50bd (patch) | |
| tree | 9ee83ef490a54676c2d852a9f995241b6a2bd8f2 /src/main/java/design/model/Course.java | |
| parent | e085ca1bf0b5dd58d8a10d27b009a9f1dd384846 (diff) | |
| download | designproject-design-6-c9dbbbf82277036d15a180b0e8609b6dfccb50bd.tar.gz designproject-design-6-c9dbbbf82277036d15a180b0e8609b6dfccb50bd.tar.bz2 designproject-design-6-c9dbbbf82277036d15a180b0e8609b6dfccb50bd.zip | |
progress on implementing strategy pattern
Diffstat (limited to 'src/main/java/design/model/Course.java')
| -rw-r--r-- | src/main/java/design/model/Course.java | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/src/main/java/design/model/Course.java b/src/main/java/design/model/Course.java deleted file mode 100644 index 5f8c43d..0000000 --- a/src/main/java/design/model/Course.java +++ /dev/null @@ -1,45 +0,0 @@ -package design.model; - -import java.util.List; - -public class Course { - private final String name; - private final int difficultyRating; - private final String location; - private final int holeCount; - private final int totalPar; - private final List<Hole> holes; - - public Course(String name, int difficultyRating, String location, int holeCount, int totalPar, List<Hole> holes) { - this.name = name; - this.difficultyRating = difficultyRating; - this.location = location; - this.holeCount = holeCount; - this.totalPar = totalPar; - this.holes = holes; - } - - public String getName() { - return name; - } - - public int getDifficultyRating() { - return difficultyRating; - } - - public String getLocation() { - return location; - } - - public int getHoleCount() { - return holeCount; - } - - public int getTotalPar() { - return totalPar; - } - - public List<Hole> getHoles() { - return holes; - } -} |
