28 lines
470 B
Java
28 lines
470 B
Java
package Domain;
|
|
|
|
public class Player {
|
|
|
|
private String name;
|
|
// private Yatzy_Sheet sheet;
|
|
private Dice dice;
|
|
|
|
|
|
public Player(String name, Yatzy_Sheet sheet, Dice dice){
|
|
this.name = name;
|
|
// this.sheet = sheet;
|
|
this.dice = dice;
|
|
}
|
|
|
|
public String getName(){
|
|
return name;
|
|
}
|
|
|
|
// public Yatzy_Sheet getSheet(){
|
|
// return sheet;
|
|
// }
|
|
|
|
public Dice getDice(){
|
|
return dice;
|
|
}
|
|
}
|