comment test code
This commit is contained in:
@@ -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();
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user