Add: complete JavaDOC to ServerLauncher
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user