Add: complete JavaDOC to ServerLauncher

This commit is contained in:
2026-04-25 18:16:13 +02:00
parent 27903f1738
commit 6ebfd4d026
3 changed files with 38 additions and 26 deletions
@@ -52,7 +52,7 @@ public class RMIServer implements IGameServer {
if (controller.addPlayer(username)) {
if(playerList.size()==0)
{
Game game= new Game(preferredInt);
Game game = new Game(preferredInt);
controller.setModel(game);
playerList.setLimit(preferredInt);
}
@@ -118,7 +118,7 @@ public class TCPServer {
this.playerList = players;
}
public void notifAll(NetworkEvent event){
public void notifyAll(NetworkEvent event){
clientHandlers.forEach((x) -> x.notifyEvent(event));
}