2023-10-06 10:53:38 +00:00
|
|
|
package manager.field;
|
2023-08-04 15:41:59 +00:00
|
|
|
|
2023-08-04 11:22:28 +00:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|