actually call method when LISTL is recieved.
This commit is contained in:
parent
6297439c3c
commit
709e5323e8
@ -58,14 +58,13 @@ public class JServerProtocolParser {
|
||||
h.removeClientOnLogout();
|
||||
break;
|
||||
case Protocol.createNewGame:
|
||||
// TODO add h.openLobby(h) method
|
||||
h.createNewLobby();
|
||||
LOGGER.debug(Protocol.createNewGame
|
||||
+ " command reached in JServerProtocolParser. Command issued by: "
|
||||
+ h.getClientUserName());
|
||||
break;
|
||||
case Protocol.listLobbies:
|
||||
//TODO: add action
|
||||
h.listAllLobbiesToClient();
|
||||
LOGGER.debug(Protocol.listLobbies + " command recieved from: " + h.getClientUserName());
|
||||
break;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user