comment test code

This commit is contained in:
Sem van der Hoeven
2020-05-14 20:34:31 +02:00
parent b6c3e433aa
commit 017a590618

View File

@@ -1,7 +1,6 @@
package netwerkprog.game.server;
import netwerkprog.game.server.controllers.SessionController;
import netwerkprog.game.server.controllers.game.GameController;
import java.util.HashMap;
@@ -31,14 +30,12 @@ public class Server {
}
private void setTestGames() {
for (int i = 0; i < 10; i++) {
gameThreads.put("game " + i, new Thread(new GameController(i)));
}
for (String game : gameThreads.keySet()) {
gameThreads.get(game).start();
}
// for (int i = 0; i < 10; i++) {
// gameThreads.put("game " + i, new Thread(new GameController(i)));
// }
//
// for (String game : gameThreads.keySet()) {
// gameThreads.get(game).start();
// }
}
}