Fixed typo, commented out code causing compiling errors
This commit is contained in:
@@ -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?
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user