()
| 960 | } |
| 961 | |
| 962 | private void nextTurn() |
| 963 | { |
| 964 | ListIterator<ClientConnection> itr = clients.listIterator(); |
| 965 | |
| 966 | while(itr.hasNext()) |
| 967 | { |
| 968 | ClientConnection client = itr.next(); |
| 969 | |
| 970 | client.setReadyNextTurn(false); |
| 971 | } |
| 972 | |
| 973 | String message = NetworkProtocol.NEXT_TURN+""; |
| 974 | sendMessageAll(message); |
| 975 | |
| 976 | timeTurnStarted = System.currentTimeMillis(); |
| 977 | } |
| 978 | |
| 979 | protected void finishGame(ClientConnection client) |
| 980 | { |
no test coverage detected