2024-05-02 11:26:21 +02:00
|
|
|
package Domain;
|
|
|
|
|
|
|
|
public class Player {
|
|
|
|
|
|
|
|
private String name;
|
2024-05-03 12:22:01 +02:00
|
|
|
private Yatzy_Sheet sheet;
|
|
|
|
|
2024-05-02 11:26:21 +02:00
|
|
|
|
2024-05-03 12:22:01 +02:00
|
|
|
public Player(String name, Yatzy_Sheet sheet){
|
2024-05-02 11:26:21 +02:00
|
|
|
this.name = name;
|
2024-05-03 12:22:01 +02:00
|
|
|
this.sheet = sheet;
|
2024-05-02 12:46:36 +02:00
|
|
|
}
|
|
|
|
|
2024-05-02 11:26:21 +02:00
|
|
|
public String getName(){
|
|
|
|
return name;
|
|
|
|
}
|
2024-05-03 12:22:01 +02:00
|
|
|
|
|
|
|
public Yatzy_Sheet getSheet(){
|
|
|
|
return sheet;
|
|
|
|
}
|
2024-05-02 11:26:21 +02:00
|
|
|
}
|