summaryrefslogtreecommitdiff
path: root/src/main/java/design/controller/userinput/Session.java
blob: 7fbb7864696213fd83c0b7dadef86511dd9a2b78 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package design.controller.userinput;

import design.model.Golfer;

public final class Session {
    private static Golfer currentGolfer;

    public static Golfer getCurrentGolfer() {
        return currentGolfer;
    }

    public static void setCurrentGolfer(Golfer currentGolfer) {
        Session.currentGolfer = currentGolfer;
    }
}