Dicewars-Java-Approach/server/game-logic/Manager/Field/Player.java
2023-10-06 12:53:38 +02:00

23 lines
412 B
Java

package manager.field;
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;
}
}