Network and Frontend #10

Merged
lgc merged 29 commits from ole into main 2024-12-03 12:13:28 +00:00
1 changed files with 7 additions and 0 deletions
Showing only changes of commit bdde2066f3 - Show all commits

View File

@ -28,4 +28,11 @@ public abstract class Player {
public void setEnemy(Player enemy) { public void setEnemy(Player enemy) {
this.enemy = enemy; this.enemy = enemy;
} }
public void setName(String name) {
this.name = name;
}
public String getName() {
return this.name;
}
} }