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

import design.model.Club;

public interface HoleState {
    void enter(HolePlayContext ctx);

    void handleStart(HolePlayContext ctx);

    void handleShot(HolePlayContext ctx, Club club, Integer distanceYds); // distance may be null

    void handleHoleOut(HolePlayContext ctx);

    String name();
}