diff options
Diffstat (limited to 'src/Q8/Point.java')
| -rw-r--r-- | src/Q8/Point.java | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Q8/Point.java b/src/Q8/Point.java new file mode 100644 index 0000000..a1196ce --- /dev/null +++ b/src/Q8/Point.java @@ -0,0 +1,18 @@ +package Q8; + +public class Point { + private int player; + private int score; + private static final int PLAYER1 = 0; + private static final int PLAYER2 = 1; + private String stroke; + + public Point(int player, String stroke, int value) { + this.player = player; + this.stroke = stroke; + } + + public int getPlayer() { return 0; } + public int getScore() { return 0; } + public String getStroke() { return ""; } +} |
