update,
This commit is contained in:
21
_resources/it114105/itp3914/Assignment/21-22/Player.java
Normal file
21
_resources/it114105/itp3914/Assignment/21-22/Player.java
Normal file
@@ -0,0 +1,21 @@
|
||||
public class Player {
|
||||
|
||||
private BingoGameCard card;
|
||||
private String name;
|
||||
|
||||
public Player(String name){
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
public String getName(){
|
||||
return name;
|
||||
}
|
||||
|
||||
public void setBingoGameCard(BingoGameCard card){
|
||||
this.card = card;
|
||||
}
|
||||
|
||||
public BingoGameCard getBingoGameCard(){
|
||||
return card;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user