Dicewars-Java-Approach/server/game-logic/Player.java

21 lines
388 B
Java

public class Player{
private String name;
private int playerid;
public Player(String input_name, int input_id){
name = input_name;
playerid = input_id;
}
public void set_name(String input_name){
name = input_name;
}
public String get_name(){
return name;
}
public int get_playerid(){
return playerid;
}
}