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

public class Swing {
    private final int distance;
    private final Club clubUsed;

    public Swing(int distance, Club clubUsed) {
        this.distance = distance;
        this.clubUsed = clubUsed;
    }

    public int getDistance() {
        return distance;
    }

    public Club getClubUsed() {
        return clubUsed;
    }
}