summaryrefslogtreecommitdiff
path: root/src/main/java/design/model/course_search/ICourse.java
blob: 061bbfa83b552ba12e1a7a5d4490dd07799d3c3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
package design.model.course_search;

import design.model.Hole;

import java.util.List;

/*
 * Defines the interface for courses to implement 
 * Willem Dalton
 */
public interface ICourse {
    String getName();
    float getDifficultyRating();
    String getLocation();
    List<Hole> getHoles();
    int getHoleCount();
    int getTotalPar();
    CourseList groupByCurrentSorter();
}