forked from Group00000011/UwoSurvivorPool
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRoundPick.java
More file actions
47 lines (43 loc) · 1.13 KB
/
Copy pathRoundPick.java
File metadata and controls
47 lines (43 loc) · 1.13 KB
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
/**
* RoundPick class creates round pick objects that hold which contestant a
* player thinks will be eliminated for a specified round
*
* @author Manor Freeman, Hazel Rivera, Martin Grabarczyk, Liam Corrigan, Jeff
* Westaway, Delerina Hill
*
*/
public class RoundPick {
// Attributes
private int round;
private Contestant contestant;
/**
* Constructor for objects of class RoundPick initializing the round and the
* contestant that a player thinks will be eliminated for that round
*
* @param round
* the round of the round pick
* @param contestant
* the contestant that the player thinks will be eliminated
*/
public RoundPick(int round, Contestant contestant) {
this.round = round;
this.contestant = contestant;
}
// Accessor Methods
/**
* Gets the round of the RoundPick
*
* @return the round of the RoundPick
*/
public int getRound() {
return this.round;
}
/**
* Gets the contestant of the RoundPick
*
* @return the contestant of the RoundPick
*/
public Contestant getContestant() {
return this.contestant;
}
}