style
This commit is contained in:
@@ -9,6 +9,10 @@ public class Player {
|
||||
private String name;
|
||||
private ArrayList<Card> hand = new ArrayList<>();
|
||||
|
||||
/**
|
||||
* 构造函数
|
||||
* @param name 玩家名称
|
||||
*/
|
||||
public Player(String name) {
|
||||
this.name = name;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user