-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathGame.java
50 lines (41 loc) · 1.25 KB
/
Game.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
package com.example.orbital_layoutfrontend;
public class Game {
private final int catches;
private final int failedCatches;
private final int totalPasses;
private final int successfulPasses;
private final int totalCuts;
private final int successfulCuts;
private final String score;
public Game(int catches, int failedCatches, int totalPasses, int successfulPasses,
int totalCuts, int successfulCuts, String score) {
this.catches = catches;
this.failedCatches = failedCatches;
this.totalPasses = totalPasses;
this.successfulPasses = successfulPasses;
this.totalCuts = totalCuts;
this.successfulCuts = successfulCuts;
this.score = score;
}
public int getCatches() {
return catches;
}
public int getFailedCatches() {
return failedCatches;
}
public int getTotalPasses() {
return totalPasses;
}
public int getSuccessfulPasses() {
return successfulPasses;
}
public int getTotalCuts() {
return totalCuts;
}
public int getSuccessfulCuts() {
return successfulCuts;
}
public String getScore() {
return score;
}
}