Yatzy/Domain/Player.java

28 lines
485 B
Java
Raw Normal View History

2024-05-02 11:26:21 +02:00
package Domain;
public class Player {
private String name;
2024-05-06 13:18:10 +02:00
// private Yatzy_Sheet sheet;
// private Dice dice;
2024-05-03 12:22:01 +02:00
2024-05-02 11:26:21 +02:00
2024-05-03 21:10:44 +02:00
public Player(String name, Yatzy_Sheet sheet, Dice dice){
2024-05-02 11:26:21 +02:00
this.name = name;
2024-05-06 13:18:10 +02:00
// this.sheet = sheet;
// this.dice = dice;
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
2024-05-06 13:18:10 +02:00
// public Yatzy_Sheet getSheet(){
// return sheet;
// }
2024-05-03 21:10:44 +02:00
2024-05-06 13:18:10 +02:00
// public Dice getDice(){
// return dice;
// }
2024-05-02 11:26:21 +02:00
}