(String msg, ClientConnection client)
| 1063 | } |
| 1064 | |
| 1065 | private void handleCommands(String msg, ClientConnection client) throws UnsupportedEncodingException |
| 1066 | { |
| 1067 | if(msg.startsWith("-")) |
| 1068 | { |
| 1069 | if(msg.compareToIgnoreCase("-skip")==0) |
| 1070 | { |
| 1071 | if(this.gameState == Constants.GAME) |
| 1072 | { |
| 1073 | client.setSkipLevel(true); |
| 1074 | checkSkipLevel(); |
| 1075 | } |
| 1076 | } |
| 1077 | } |
| 1078 | } |
| 1079 | |
| 1080 | public synchronized void handleMessage(String message, ClientConnection client) |
| 1081 | { |
no test coverage detected