Fix: GameController

This commit is contained in:
rubenpirreram
2026-04-17 17:39:10 +02:00
parent 8d12267b4a
commit 60dcb4c570
@@ -8,6 +8,11 @@ public class GameController {
public GameController(Game model) {
this.model = model;
}
public GameController() {
}
public void setModel(Game model) {
this.model = model;
}
public boolean addPlayer(String username) {
return model.addPlayer(new Player(username));
}