summaryrefslogtreecommitdiff
path: root/src/main/java/design/model/course_search/ICourse.java
blob: e50eb1bf94ec96cc0276ffc3be178d679a71342d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
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();
}