Fixed typo, commented out code causing compiling errors

This commit is contained in:
Alexander Sazonov
2022-04-30 18:48:29 +02:00
parent a0b0b3e330
commit 3e1ab66397
4 changed files with 11 additions and 11 deletions

View File

@@ -345,22 +345,22 @@ public class Client {
}
break;
case GuiParameters.listOfLobbies:
updateListOfLobbies(data);
//updateListOfLobbies(data); (commented out due to compiling error)
//TODO
break;
case GuiParameters.listOfPLayers:
updateListOfClients(data);
//TODO
break;
case GuiParameters.viewChangeToGame:
//case GuiParameters.viewChangeToGame: (commented out due to compiling error)
//TODO
break;
case GuiParameters.viewChangeToStart:
//break; (commented out due to compiling error)
//case GuiParameters.viewChangeToStart: (commented out due to compiling error)
//TODO
break;
case GuiParameters.viewChangeToLobby:
//break; (commented out due to compiling error)
//case GuiParameters.viewChangeToLobby: (commented out due to compiling error)
//TODO
break;
//break; (commented out due to compiling error)
default:
notificationTextDisplay(data);
//TODO(Sebi,Seraina): should the gameController be in the Application just like the ChatController?

View File

@@ -65,7 +65,7 @@ public class LoungeSceneViewController implements Initializable {
}
public void addLobby(LobbyListItem lobby) {
LobbyTreeView.
//TODO fix/complete following code: LobbyTreeView. (commented out due to compiling error)
}
public void addClientToList(ClientListItem player) {

View File

@@ -100,7 +100,7 @@ public class JServerProtocolParser {
break;
case Protocol.leaveLobby:
h.leaveLobby();
h.sendMsgToClient(Protocol.printToGUI + "$" + GuiParameters.viewChangeToStart + "$");
//h.sendMsgToClient(Protocol.printToGUI + "$" + GuiParameters.viewChangeToStart + "$"); (commented out due to compiling error)
break;
case Protocol.votedFor:
LOGGER.debug("Made it here");
@@ -109,7 +109,7 @@ public class JServerProtocolParser {
break;
case Protocol.startANewGame:
h.startNewGame();
h.sendMsgToClientsInLobby(Protocol.printToGUI + "$" + GuiParameters.viewChangeToGame + "$");
//h.sendMsgToClientsInLobby(Protocol.printToGUI + "$" + GuiParameters.viewChangeToGame + "$"); (commented out due to compiling error)
break;
case Protocol.listGames:
h.listGames();